(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.

This commit is contained in:
peter1138
2008-01-01 22:34:00 +00:00
parent 47082fec5c
commit fa83291a76
6 changed files with 11 additions and 2 deletions

View File

@@ -544,6 +544,7 @@ static void PlayerStationsWndProc(Window *w, WindowEvent *e)
break;
case WE_TICK:
if (_pause_game != 0) break;
if (--sl->resort_timer == 0) {
DEBUG(misc, 3, "Periodic rebuild station list player %d", owner);
sl->resort_timer = DAY_TICKS * PERIODIC_RESORT_DAYS;