(svn r19934) -Fix [FS#3857]: When 'pause on new game' is set, pause the game before CleanupGeneration() to avoid conflicts with concurrent GUI code.

This commit is contained in:
frosch
2010-06-05 15:22:46 +00:00
parent 9e53f1e004
commit c5921a91ea
2 changed files with 2 additions and 1 deletions

View File

@@ -820,6 +820,8 @@ static void MakeNewGameDone()
}
#endif /* ENABLE_NETWORK */
if (_settings_client.gui.pause_on_newgame) DoCommandP(0, PM_PAUSED_NORMAL, 1, CMD_PAUSE);
MarkWholeScreenDirty();
}