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