From 890296c125e11438c82371405744b51a2d58eb06 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 1 Jan 2008 22:34:00 +0000 Subject: (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. --- src/station_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/station_gui.cpp') diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 0da9f32e7..cf19c1969 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -544,6 +544,7 @@ static void PlayerStationsWndProc(Window *w, WindowEvent *e) break; case WE_TICK: + if (_pause_game != 0) break; if (--sl->resort_timer == 0) { DEBUG(misc, 3, "Periodic rebuild station list player %d", owner); sl->resort_timer = DAY_TICKS * PERIODIC_RESORT_DAYS; -- cgit v1.2.3-54-g00ecf