(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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user