From feb02eaea93a3bbbc4b2c651285c99a184cbc086 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 25 May 2014 20:15:10 -0400 Subject: MADS: Further fix for setting cursor hotspot position --- engines/mads/events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3