mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 23:44:22 +00:00
DRASCULA: Get rid of casts on CursorManager::replaceCursor calls.
This commit is contained in:
parent
e1e1f01b87
commit
0268f21980
@ -28,10 +28,10 @@ namespace Drascula {
|
||||
void DrasculaEngine::setCursor(int cursor) {
|
||||
switch (cursor) {
|
||||
case kCursorCrosshair:
|
||||
CursorMan.replaceCursor((const byte *)crosshairCursor, 40, 25, 20, 17, 255);
|
||||
CursorMan.replaceCursor(crosshairCursor, 40, 25, 20, 17, 255);
|
||||
break;
|
||||
case kCursorCurrentItem:
|
||||
CursorMan.replaceCursor((const byte *)mouseCursor, OBJWIDTH, OBJHEIGHT, 20, 17, 255);
|
||||
CursorMan.replaceCursor(mouseCursor, OBJWIDTH, OBJHEIGHT, 20, 17, 255);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user