aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-25 20:15:10 -0400
committerPaul Gilbert2014-05-25 20:15:10 -0400
commitfeb02eaea93a3bbbc4b2c651285c99a184cbc086 (patch)
treea5828846539b442c401feebba4c2125967fd423e /engines
parent49866d442fdd816a89a5c1bd4ddb1e68013c8d9e (diff)
downloadscummvm-rg350-feb02eaea93a3bbbc4b2c651285c99a184cbc086.tar.gz
scummvm-rg350-feb02eaea93a3bbbc4b2c651285c99a184cbc086.tar.bz2
scummvm-rg350-feb02eaea93a3bbbc4b2c651285c99a184cbc086.zip
MADS: Further fix for setting cursor hotspot position
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/events.cpp2
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;
}