aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-28 00:20:26 +0000
committerFilippos Karapetis2007-07-28 00:20:26 +0000
commitee485afa89436ae01f5afbfadd937beb05bac8ff (patch)
treef21e950eb74d5c580d817569ebd0172a6843a3a3 /engines
parent24a7a2908ddfe03cf8f4251ce2e2027b594affae (diff)
downloadscummvm-rg350-ee485afa89436ae01f5afbfadd937beb05bac8ff.tar.gz
scummvm-rg350-ee485afa89436ae01f5afbfadd937beb05bac8ff.tar.bz2
scummvm-rg350-ee485afa89436ae01f5afbfadd937beb05bac8ff.zip
Don't allow setCursor to change the cursor to an hourglass in the IHNM demo. The IHNM demo no longer crashes now
svn-id: r28250
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/gfx.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/saga/gfx.cpp b/engines/saga/gfx.cpp
index a9c6801714..8d36ee0e12 100644
--- a/engines/saga/gfx.cpp
+++ b/engines/saga/gfx.cpp
@@ -431,7 +431,10 @@ void Gfx::setCursor(CursorType cursorType) {
switch (cursorType) {
case kCursorBusy:
- resourceId = RID_IHNM_HOURGLASS_CURSOR;
+ if (_vm->getGameId() != GID_IHNM_DEMO)
+ resourceId = RID_IHNM_HOURGLASS_CURSOR;
+ else
+ resourceId = (uint32)-1;
break;
default:
resourceId = (uint32)-1;