mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r5900) -Fix [FS#84]: Warning silencing fix for OpenTTD on Windows x64 (michi_cc)
This commit is contained in:
parent
ba2a796403
commit
939e334ce2
|
@ -2227,7 +2227,7 @@ void SetObjectToPlace(CursorID icon, byte mode, WindowClass window_class, Window
|
|||
VpStartPreSizing();
|
||||
|
||||
if ( (int)icon < 0)
|
||||
SetAnimatedMouseCursor(_animcursors[~icon]);
|
||||
SetAnimatedMouseCursor(_animcursors[~((int)icon)]);
|
||||
else
|
||||
SetMouseCursor(icon);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue