diff options
author | Filippos Karapetis | 2012-03-25 19:22:31 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-03-25 19:22:31 +0300 |
commit | d801186185672b9df93184a11e8d980a2fafaead (patch) | |
tree | 267739d765bd4f338a3cd52c3922d68937eee7af /engines/sci/graphics | |
parent | 1170727977c4e497a866c937fef48e3d341f834e (diff) | |
download | scummvm-rg350-d801186185672b9df93184a11e8d980a2fafaead.tar.gz scummvm-rg350-d801186185672b9df93184a11e8d980a2fafaead.tar.bz2 scummvm-rg350-d801186185672b9df93184a11e8d980a2fafaead.zip |
SCI: Fix cursor coordinates for SCI01. Fixes a crash in KQ1 (bug #3503932)
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/cursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp index 52a5961070..71f4598afc 100644 --- a/engines/sci/graphics/cursor.cpp +++ b/engines/sci/graphics/cursor.cpp @@ -132,7 +132,7 @@ void GfxCursor::kernelSetShape(GuiResourceId resourceId) { resourceData = resource->data; - if (getSciVersion() <= SCI_VERSION_0_LATE) { + if (getSciVersion() <= SCI_VERSION_01) { // SCI0 cursors contain hotspot flags, not actual hotspot coordinates. // If bit 0 of resourceData[3] is set, the hotspot should be centered, // otherwise it's in the top left of the mouse cursor. |