(svn r11742) -Codechange [FS#1319]: Run window tick events when paused, so that news pop-ups and the about window still progress. For other windows the events are ignored when paused.

This commit is contained in:
peter1138
2008-01-01 22:34:00 +00:00
parent 47082fec5c
commit fa83291a76
6 changed files with 11 additions and 2 deletions

View File

@@ -962,7 +962,10 @@ void StateGameLoop()
ClearStorageChanges(false);
/* dont execute the state loop during pause */
if (_pause_game) return;
if (_pause_game) {
CallWindowTickEvent();
return;
}
if (IsGeneratingWorld()) return;
if (_game_mode == GM_EDITOR) {