Change: Animate text effects by real time instead of game ticks.

This commit is contained in:
Peter Nelson
2018-05-11 17:52:06 +01:00
committed by PeterN
parent ead9c9eab5
commit 59fe4f28c8
4 changed files with 12 additions and 6 deletions

View File

@@ -3126,6 +3126,8 @@ void UpdateWindows()
_window_highlight_colour = !_window_highlight_colour;
}
if (!_pause_mode || _game_mode == GM_EDITOR || _settings_game.construction.command_pause_level > CMDPL_NO_CONSTRUCTION) MoveAllTextEffects(delta_ms);
FOR_ALL_WINDOWS_FROM_FRONT(w) {
w->ProcessScheduledInvalidations();
w->ProcessHighlightedInvalidations();