aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-16 03:17:51 +0200
committerJohannes Schickel2012-06-16 03:28:42 +0200
commit0268f21980491b3fc0c50dab371193d69aae43e4 (patch)
tree5aba7b3f1ba01438cd85f9b74ae0f92e9f6e0f07 /engines
parente1e1f01b873f0d8ed09abcda37789deb09ba83c5 (diff)
downloadscummvm-rg350-0268f21980491b3fc0c50dab371193d69aae43e4.tar.gz
scummvm-rg350-0268f21980491b3fc0c50dab371193d69aae43e4.tar.bz2
scummvm-rg350-0268f21980491b3fc0c50dab371193d69aae43e4.zip
DRASCULA: Get rid of casts on CursorManager::replaceCursor calls.
Diffstat (limited to 'engines')
-rw-r--r--engines/drascula/interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/drascula/interface.cpp b/engines/drascula/interface.cpp
index c08bcea01f..4b8db63bb7 100644
--- a/engines/drascula/interface.cpp
+++ b/engines/drascula/interface.cpp
@@ -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;
}