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