From 286dc58aa6e56e9450245010c843c91a07e49f3a Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 19 Feb 2013 07:13:49 +0000 Subject: [PATCH] - bugfix for unit sight on game load --- source/glest_game/type_instances/unit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/glest_game/type_instances/unit.cpp b/source/glest_game/type_instances/unit.cpp index 3ffa1958..37e0518f 100644 --- a/source/glest_game/type_instances/unit.cpp +++ b/source/glest_game/type_instances/unit.cpp @@ -4531,6 +4531,7 @@ Unit * Unit::loadGame(const XmlNode *rootNode, GameSettings *settings, Faction * result->pathFindRefreshCellCount = unitNode->getAttribute("pathFindRefreshCellCount")->getIntValue(); } + result->exploreCells(); result->calculateFogOfWarRadius(); return result;