From fa83291a766d23bbffbf4f860e040ae669423f31 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/graph_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/graph_gui.cpp') diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index 96aa63b90..eb94a8325 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -1102,6 +1102,8 @@ static void PerformanceRatingDetailWndProc(Window *w, WindowEvent *e) } case WE_TICK: + if (_pause_game != 0) break; + /* Update the player score every 5 days */ if (--w->custom[0] == 0) { w->custom[0] = DAY_TICKS; -- cgit v1.2.3-70-g09d2