diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-01 22:34:00 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-01 22:34:00 +0000 |
commit | 890296c125e11438c82371405744b51a2d58eb06 (patch) | |
tree | 0457000dece8ef1a1e93d2d81127d4772fae6376 /src/openttd.cpp | |
parent | 5c237780650517d674739f7b4eecaaed1f085109 (diff) | |
download | openttd-890296c125e11438c82371405744b51a2d58eb06.tar.xz |
(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.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 8fbdd0b11..b4f64e10c 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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) { |