fixed a bug which prevented you from selecting units directly after loading a game
This commit is contained in:
parent
ed91a7c59b
commit
3e0e9620ae
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user