(svn r26369) -Fix-ish: Do not run scripts during command replay.

pull/155/head
frosch 10 years ago
parent 7ab929eaeb
commit 3403ade478

@ -1347,7 +1347,9 @@ void StateGameLoop()
/* don't execute the state loop during pause */
if (_pause_mode != PM_UNPAUSED) {
UpdateLandscapingLimits();
#ifndef DEBUG_DUMP_COMMANDS
Game::GameLoop();
#endif
CallWindowTickEvent();
return;
}
@ -1387,8 +1389,10 @@ void StateGameLoop()
CallLandscapeTick();
ClearPersistentStorageChanges(true);
#ifndef DEBUG_DUMP_COMMANDS
AI::GameLoop();
Game::GameLoop();
#endif
UpdateLandscapingLimits();
CallWindowTickEvent();

Loading…
Cancel
Save