summaryrefslogtreecommitdiff
path: root/viewport.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-03 21:20:01 +0000
committertron <tron@openttd.org>2005-10-03 21:20:01 +0000
commit6d7c7e67b2001716340698b44d3eb95de3c4cf24 (patch)
tree4379525d1560a92903c1fdc87cdbad70a36ea271 /viewport.c
parenta4287a47b34c8f06322be63a8053bd96712db335 (diff)
downloadopenttd-6d7c7e67b2001716340698b44d3eb95de3c4cf24.tar.xz
(svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them
Diffstat (limited to 'viewport.c')
-rw-r--r--viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewport.c b/viewport.c
index 66b93a852..c3cc10834 100644
--- a/viewport.c
+++ b/viewport.c
@@ -2229,7 +2229,7 @@ void SetObjectToPlace(CursorID icon, byte mode, WindowClass window_class, Window
VpStartPreSizing();
if ( (int)icon < 0)
- SetAnimatedMouseCursor(_animcursors[~(int32)icon]);
+ SetAnimatedMouseCursor(_animcursors[~icon]);
else
SetMouseCursor(icon);
}