aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mads/events.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/mads/events.cpp b/engines/mads/events.cpp
index 182d6cbea7..32d3a09c18 100644
--- a/engines/mads/events.cpp
+++ b/engines/mads/events.cpp
@@ -85,7 +85,12 @@ void EventsManager::resetCursor() {
}
void EventsManager::changeCursor() {
- warning("TODO: changeCursor");
+ if (_cursorSprites) {
+ MSprite *cursor = _cursorSprites->getFrame(_cursorId - 1);
+ CursorMan.replaceCursor(cursor->getData(), cursor->w, cursor->h, 0, 0,
+ cursor->getTransparencyIndex());
+ showCursor();
+ }
}
void EventsManager::freeCursors() {