[Scummvm-cvs-logs] scummvm master -> d801186185672b9df93184a11e8d980a2fafaead
bluegr
md5 at scummvm.org
Sun Mar 25 18:24:23 CEST 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d801186185 SCI: Fix cursor coordinates for SCI01. Fixes a crash in KQ1 (bug #3503932)
Commit: d801186185672b9df93184a11e8d980a2fafaead
https://github.com/scummvm/scummvm/commit/d801186185672b9df93184a11e8d980a2fafaead
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2012-03-25T09:22:31-07:00
Commit Message:
SCI: Fix cursor coordinates for SCI01. Fixes a crash in KQ1 (bug #3503932)
Changed paths:
engines/sci/graphics/cursor.cpp
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp
index 52a5961..71f4598 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.
More information about the Scummvm-git-logs
mailing list