summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-08-21 13:04:13 +0000
committerDarkvater <darkvater@openttd.org>2006-08-21 13:04:13 +0000
commit323a3160f7d4ad69e2472e7f94f0b1de0e39a98f (patch)
tree0884f2b19092aed4192ee515ccc3246043c4804e
parent94f1f758258e00d15550c8944009c8a4ed9226ec (diff)
downloadopenttd-323a3160f7d4ad69e2472e7f94f0b1de0e39a98f.tar.xz
(svn r6035) -Revert r5900 which supposedly fixed an invalid warning caused by buggy MS software
-rw-r--r--viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewport.c b/viewport.c
index 8a8fdfcb6..ed22304ce 100644
--- a/viewport.c
+++ b/viewport.c
@@ -2227,7 +2227,7 @@ void SetObjectToPlace(CursorID icon, byte mode, WindowClass window_class, Window
VpStartPreSizing();
if ( (int)icon < 0)
- SetAnimatedMouseCursor(_animcursors[~((int)icon)]);
+ SetAnimatedMouseCursor(_animcursors[~icon]);
else
SetMouseCursor(icon);
}