aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/events.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-01 21:11:08 -0500
committerPaul Gilbert2014-03-01 21:11:08 -0500
commitae258cb350797f41272fdc1878d8cb0d3bacef05 (patch)
treef57209389c1c8106532971ea76a66f9d9834d5fe /engines/voyeur/events.cpp
parent007d68006aaaf1025e246b6a9f7c25fd789958b2 (diff)
downloadscummvm-rg350-ae258cb350797f41272fdc1878d8cb0d3bacef05.tar.gz
scummvm-rg350-ae258cb350797f41272fdc1878d8cb0d3bacef05.tar.bz2
scummvm-rg350-ae258cb350797f41272fdc1878d8cb0d3bacef05.zip
VOYEUR: Change apartment cursor to use ScummVM cursor manager
Diffstat (limited to 'engines/voyeur/events.cpp')
-rw-r--r--engines/voyeur/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp
index 13fadd3ced..36e015df43 100644
--- a/engines/voyeur/events.cpp
+++ b/engines/voyeur/events.cpp
@@ -526,8 +526,8 @@ void EventsManager::setCursor(PictureResource *pic) {
_vm->_graphicsManager->sDrawPic(pic, &cursor, Common::Point());
}
-void EventsManager::setCursor(byte *cursorData, int width, int height) {
- CursorMan.replaceCursor(cursorData, width, height, width / 2, height / 2, 0);
+void EventsManager::setCursor(byte *cursorData, int width, int height, int keyColor) {
+ CursorMan.replaceCursor(cursorData, width, height, width / 2, height / 2, keyColor);
}
void EventsManager::setCursorColor(int idx, int mode) {