summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}