diff options
author | Paul Gilbert | 2014-05-25 20:15:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-05-25 20:15:10 -0400 |
commit | feb02eaea93a3bbbc4b2c651285c99a184cbc086 (patch) | |
tree | a5828846539b442c401feebba4c2125967fd423e | |
parent | 49866d442fdd816a89a5c1bd4ddb1e68013c8d9e (diff) | |
download | scummvm-rg350-feb02eaea93a3bbbc4b2c651285c99a184cbc086.tar.gz scummvm-rg350-feb02eaea93a3bbbc4b2c651285c99a184cbc086.tar.bz2 scummvm-rg350-feb02eaea93a3bbbc4b2c651285c99a184cbc086.zip |
MADS: Further fix for setting cursor hotspot position
-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; } |