summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index e394ad64b..4180be1d6 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -1757,8 +1757,9 @@ static void SwitchAnimatedCursor()
void CursorTick()
{
- if (_cursor.animate_timeout != 0 && --_cursor.animate_timeout == 0)
+ if (_cursor.animate_timeout != 0 && --_cursor.animate_timeout == 0) {
SwitchAnimatedCursor();
+ }
}
void SetMouseCursor(CursorID sprite, PaletteID pal)