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/openttd.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/openttd.cpp') diff --git a/src/openttd.cpp b/src/openttd.cpp index 8fbdd0b11..b4f64e10c 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -962,7 +962,10 @@ void StateGameLoop() 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) { -- cgit v1.2.3-54-g00ecf