summaryrefslogtreecommitdiff
path: root/src/video/win32_v.cpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-20 11:15:15 +0100
committerPatric Stout <github@truebrain.nl>2021-02-20 17:08:44 +0100
commitec1dd0bf618f2c4fe17c62db9eec3b5e056574a0 (patch)
tree07ccc0fcb66cc6f73b01fc9e0cf1b29f6b82e7cb /src/video/win32_v.cpp
parent790fa7102ec934544b427dd5fa9fc4f7099fd4da (diff)
downloadopenttd-ec1dd0bf618f2c4fe17c62db9eec3b5e056574a0.tar.xz
Codechange: be consistent in what CheckPaletteAnim() does and when it is called
Additionally, make sure this is a class method. Later commits will make use of this.
Diffstat (limited to 'src/video/win32_v.cpp')
-rw-r--r--src/video/win32_v.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index 8e887f0aa..2024aec18 100644
--- a/src/video/win32_v.cpp
+++ b/src/video/win32_v.cpp
@@ -1201,7 +1201,6 @@ void VideoDriver_Win32::MainLoop()
_wnd.running = true;
- CheckPaletteAnim();
for (;;) {
InteractiveRandom(); // randomness