From b2ae0f3b7b788b87f28edccc3ebbc091cf45ecfa Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sun, 20 Feb 2011 00:04:57 +0000 Subject: [PATCH] - reverted morph to original code to see if this fixes out of synch (from muwums original change) --- source/glest_game/world/map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/glest_game/world/map.cpp b/source/glest_game/world/map.cpp index a2f29635..702f499e 100644 --- a/source/glest_game/world/map.cpp +++ b/source/glest_game/world/map.cpp @@ -451,8 +451,8 @@ bool Map::isFreeCellsOrHasUnit(const Vec2i &pos, int size, Field field, if(munit == NULL) { throw runtime_error("munit == NULL"); } - for (int i = 1; i <= munit->getSize(); ++i) { - for (int j = 1; j <= munit->getSize(); ++j) { + for(int i=pos.x; i