summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorPeter Nelson <peter1138@openttd.org>2018-05-11 17:52:06 +0100
committerPeterN <peter@fuzzle.org>2019-01-11 11:56:21 +0000
commit59fe4f28c8f0bf47e7af40095dc6fba145188930 (patch)
treec8007886b450f167b31804315b4011284ec11201 /src/window.cpp
parentead9c9eab5d206cb13eb169e392e1291e767efaf (diff)
downloadopenttd-59fe4f28c8f0bf47e7af40095dc6fba145188930.tar.xz
Change: Animate text effects by real time instead of game ticks.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 64bb8fcbb..efa206d56 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -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();