- bugfix for unit sight on game load
This commit is contained in:
parent
8916a86b8c
commit
286dc58aa6
|
@ -4531,6 +4531,7 @@ Unit * Unit::loadGame(const XmlNode *rootNode, GameSettings *settings, Faction *
|
||||||
result->pathFindRefreshCellCount = unitNode->getAttribute("pathFindRefreshCellCount")->getIntValue();
|
result->pathFindRefreshCellCount = unitNode->getAttribute("pathFindRefreshCellCount")->getIntValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
result->exploreCells();
|
||||||
result->calculateFogOfWarRadius();
|
result->calculateFogOfWarRadius();
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue