diff options
-rw-r--r-- | engines/mads/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/events.cpp b/engines/mads/events.cpp index 870a902866..3f2a7390fb 100644 --- a/engines/mads/events.cpp +++ b/engines/mads/events.cpp @@ -101,7 +101,7 @@ void EventsManager::changeCursor() { if (cursorData[(cursor->h - 1) * cursor->w + idx] != transIndex) hotspotX = idx; - if (cursorData[(cursor->h + 1) * cursor->w - 1] != transIndex) + if (cursorData[(idx + 1) * cursor->w - 1] != transIndex) hotspotY = idx; } |