diff options
author | Filippos Karapetis | 2007-07-28 00:20:26 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-07-28 00:20:26 +0000 |
commit | ee485afa89436ae01f5afbfadd937beb05bac8ff (patch) | |
tree | f21e950eb74d5c580d817569ebd0172a6843a3a3 | |
parent | 24a7a2908ddfe03cf8f4251ce2e2027b594affae (diff) | |
download | scummvm-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
-rw-r--r-- | engines/saga/gfx.cpp | 5 |
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; |