(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 5c23778065
commit 890296c125
6 changed files with 11 additions and 2 deletions

View File

@@ -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.