aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJonathan Gray2003-03-03 01:53:18 +0000
committerJonathan Gray2003-03-03 01:53:18 +0000
commit436afde5eb819dfd0fe798403a58f9b2afad5232 (patch)
tree2807873f095f6b098c7bc60d43b42a4d9f48243d /scumm
parent186480c8394199fee1c596b7971e2a50b325a949 (diff)
downloadscummvm-rg350-436afde5eb819dfd0fe798403a58f9b2afad5232.tar.gz
scummvm-rg350-436afde5eb819dfd0fe798403a58f9b2afad5232.tar.bz2
scummvm-rg350-436afde5eb819dfd0fe798403a58f9b2afad5232.zip
add hack that attempts to workaround the offset hotspot problem in humongous games
svn-id: r6670
Diffstat (limited to 'scumm')
-rw-r--r--scumm/gfx.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 66bd90246b..8f5a5949c6 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -3097,6 +3097,11 @@ void Scumm::setCursorHotspot2(int x, int y)
{
_cursor.hotspotX = x;
_cursor.hotspotY = y;
+ // FIXME this hacks around offset cursor in the humongous games
+ if (_features & GF_HUMONGOUS) {
+ _cursor.hotspotX += 15;
+ _cursor.hotspotY += 15;
+ }
}
void Scumm::updateCursor()