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 | fa83291a766d23bbffbf4f860e040ae669423f31 (patch) | |
tree | 0457000dece8ef1a1e93d2d81127d4772fae6376 /src/industry_gui.cpp | |
parent | 47082fec5c9be387803096d2c4a7d808d1ac4773 (diff) | |
download | openttd-fa83291a766d23bbffbf4f860e040ae669423f31.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/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index f90c8e6a1..a6eeb2e38 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -297,6 +297,7 @@ static void BuildDynamicIndustryWndProc(Window *w, WindowEvent *e) } break; case WE_TICK: + if (_pause_game != 0) break; if (!WP(w, fnd_d).timer_enabled) break; if (--WP(w, fnd_d).callback_timer == 0) { /* We have just passed another day. |