diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-01 22:34:00 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-01 22:34:00 +0000 |
commit | fa83291a766d23bbffbf4f860e040ae669423f31 (patch) | |
tree | 0457000dece8ef1a1e93d2d81127d4772fae6376 /src/vehicle_gui.cpp | |
parent | 47082fec5c9be387803096d2c4a7d808d1ac4773 (diff) | |
download | openttd-fa83291a766d23bbffbf4f860e040ae669423f31.tar.xz |
(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.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index bfdcd8baf..fb30a8618 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1157,6 +1157,7 @@ void PlayerVehWndProc(Window *w, WindowEvent *e) break; case WE_TICK: /* resort the list every 20 seconds orso (10 days) */ + if (_pause_game != 0) break; if (--vl->l.resort_timer == 0) { StationID station = ((w->window_number & VLW_MASK) == VLW_STATION_LIST) ? GB(w->window_number, 16, 16) : INVALID_STATION; PlayerID owner = (PlayerID)w->caption_color; |