From 25204e00848809959fa6c4fc659b8713b1f4f419 Mon Sep 17 00:00:00 2001 From: Titus Tscharntke Date: Thu, 24 Feb 2011 20:14:12 +0000 Subject: [PATCH] I just removed an unneeded check --- source/glest_game/world/map.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/glest_game/world/map.cpp b/source/glest_game/world/map.cpp index 51775c06..7674b224 100644 --- a/source/glest_game/world/map.cpp +++ b/source/glest_game/world/map.cpp @@ -444,9 +444,7 @@ bool Map::isFreeCells(const Vec2i & pos, int size, Field field) const { for(int i=pos.x; iisFree(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))); //printf("Could not build at [%s] isInside(testPos) = %d isInsideSurface(toSurfCoords(testPos)) = %d isFreeCell(testPos, field) = %d\n",testPos.getString().c_str(),isInside(testPos),isInsideSurface(toSurfCoords(testPos)),isFreeCell(testPos, field));