[Scummvm-cvs-logs] SF.net SVN: scummvm: [28244] scummvm/trunk/engines/saga/events.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Jul 27 20:32:01 CEST 2007


Revision: 28244
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28244&view=rev
Author:   thebluegr
Date:     2007-07-27 11:32:00 -0700 (Fri, 27 Jul 2007)

Log Message:
-----------
The IHNM demo only has one mouse cursor

Modified Paths:
--------------
    scummvm/trunk/engines/saga/events.cpp

Modified: scummvm/trunk/engines/saga/events.cpp
===================================================================
--- scummvm/trunk/engines/saga/events.cpp	2007-07-27 18:22:36 UTC (rev 28243)
+++ scummvm/trunk/engines/saga/events.cpp	2007-07-27 18:32:00 UTC (rev 28244)
@@ -460,12 +460,13 @@
 			_vm->_gfx->showCursor(false);
 			break;
 		case kEventSetNormalCursor:
-			// in ITE there is just one cursor
-			if (_vm->getGameType() == GType_IHNM)
+			// in ITE and IHNM demo there is just one cursor
+			if (_vm->getGameType() == GType_IHNM && _vm->getGameId() != GID_IHNM_DEMO)
 				_vm->_gfx->setCursor(kCursorNormal);
 			break;
 		case kEventSetBusyCursor:
-			if (_vm->getGameType() == GType_IHNM)
+			// in ITE and IHNM demo there is just one cursor
+			if (_vm->getGameType() == GType_IHNM && _vm->getGameId() != GID_IHNM_DEMO)
 				_vm->_gfx->setCursor(kCursorBusy);
 			break;
 		default:


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