diff src/openttd.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 465c2493606f
children ddc34919158f
line wrap: on
line diff
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -962,7 +962,10 @@
 	ClearStorageChanges(false);
 
 	/* dont execute the state loop during pause */
-	if (_pause_game) return;
+	if (_pause_game) {
+		CallWindowTickEvent();
+		return;
+	}
 	if (IsGeneratingWorld()) return;
 
 	if (_game_mode == GM_EDITOR) {