fixed a bug which prevented you from selecting units directly after loading a game

This commit is contained in:
Titus Tscharntke 2012-09-13 22:40:14 +00:00
parent ed91a7c59b
commit 3e0e9620ae

View File

@ -1318,7 +1318,8 @@ void Gui::loadGame(const XmlNode *rootNode, World *world) {
selection.loadGame(guiNode,world);
// SelectionQuad selectionQuad;
// int lastQuadCalcFrame;
lastQuadCalcFrame = guiNode->getAttribute("lastQuadCalcFrame")->getIntValue();
// don't load this! lastQuadCalcFrame = guiNode->getAttribute("lastQuadCalcFrame")->getIntValue();
lastQuadCalcFrame = game->getTotalRenderFps();
// int selectionCalculationFrameSkip;
selectionCalculationFrameSkip = guiNode->getAttribute("selectionCalculationFrameSkip")->getIntValue();
// int minQuadSize;