aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-16 03:19:51 +0200
committerJohannes Schickel2012-06-16 03:28:43 +0200
commit99229fc7ab3a15da8b964443cb58bc00caa5f0a4 (patch)
treed492924b4eff77ba5c981ff58eab0675fbd929ff /engines/toltecs
parent7b646e5c62c37b5a593994d1e27a79c62fecd501 (diff)
downloadscummvm-rg350-99229fc7ab3a15da8b964443cb58bc00caa5f0a4.tar.gz
scummvm-rg350-99229fc7ab3a15da8b964443cb58bc00caa5f0a4.tar.bz2
scummvm-rg350-99229fc7ab3a15da8b964443cb58bc00caa5f0a4.zip
TOLTECS: Get rid of casts on CursorManager::replaceCursor calls.
Diffstat (limited to 'engines/toltecs')
-rw-r--r--engines/toltecs/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toltecs/screen.cpp b/engines/toltecs/screen.cpp
index b781490b69..634917a7b1 100644
--- a/engines/toltecs/screen.cpp
+++ b/engines/toltecs/screen.cpp
@@ -114,7 +114,7 @@ void Screen::loadMouseCursor(uint resIndex) {
}
}
// FIXME: Where's the cursor hotspot? Using 8, 8 seems good enough for now.
- CursorMan.replaceCursor((const byte*)mouseCursor, 16, 16, 8, 8, 0);
+ CursorMan.replaceCursor(mouseCursor, 16, 16, 8, 8, 0);
}
void Screen::drawGuiImage(int16 x, int16 y, uint resIndex) {