[Scummvm-cvs-logs] SF.net SVN: scummvm: [28250] scummvm/trunk/engines/saga/gfx.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Jul 28 02:20:26 CEST 2007
Revision: 28250
http://scummvm.svn.sourceforge.net/scummvm/?rev=28250&view=rev
Author: thebluegr
Date: 2007-07-27 17:20:26 -0700 (Fri, 27 Jul 2007)
Log Message:
-----------
Don't allow setCursor to change the cursor to an hourglass in the IHNM demo. The IHNM demo no longer crashes now
Modified Paths:
--------------
scummvm/trunk/engines/saga/gfx.cpp
Modified: scummvm/trunk/engines/saga/gfx.cpp
===================================================================
--- scummvm/trunk/engines/saga/gfx.cpp 2007-07-28 00:04:34 UTC (rev 28249)
+++ scummvm/trunk/engines/saga/gfx.cpp 2007-07-28 00:20:26 UTC (rev 28250)
@@ -431,7 +431,10 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list