diff src/graph_gui.cpp @ 8179:a0879dc1b54d draft

(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.
author peter1138 <peter1138@openttd.org>
date Tue, 01 Jan 2008 22:34:00 +0000
parents fb8a05d579da
children c45446125bf0
line wrap: on
line diff
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -1102,6 +1102,8 @@
 		}
 
 		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;