From 5fdbce7651a03f5aa0b721789bc8dacea0dce8f1 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Mon, 6 Sep 2010 20:52:53 +0000 Subject: [PATCH] - commented out a debug line that gets called a ZILLION times and grows the logfile too much --- source/glest_game/world/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/world/map.cpp b/source/glest_game/world/map.cpp index 33f45160..f3658808 100644 --- a/source/glest_game/world/map.cpp +++ b/source/glest_game/world/map.cpp @@ -329,7 +329,7 @@ bool Map::isFreeCells(const Vec2i & pos, int size, Field field) const { for(int j=pos.y; jisFree(field) = %d, getSurfaceCell(toSurfCoords(testPos))->isFree() = %d, getDeepSubmerged(getCell(testPos)) = %d\n",__FILE__,__FUNCTION__,__LINE__,testPos.getString().c_str(),field,getCell(testPos)->isFree(field),getSurfaceCell(toSurfCoords(testPos))->isFree(),getDeepSubmerged(getCell(testPos))); + //SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d] isFreeCell will return false, testPos = %s, field = %d, getCell(testPos)->isFree(field) = %d, getSurfaceCell(toSurfCoords(testPos))->isFree() = %d, getDeepSubmerged(getCell(testPos)) = %d\n",__FILE__,__FUNCTION__,__LINE__,testPos.getString().c_str(),field,getCell(testPos)->isFree(field),getSurfaceCell(toSurfCoords(testPos))->isFree(),getDeepSubmerged(getCell(testPos))); return false; }