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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Jul 28 02:40:06 CEST 2007


Revision: 28252
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28252&view=rev
Author:   thebluegr
Date:     2007-07-27 17:40:04 -0700 (Fri, 27 Jul 2007)

Log Message:
-----------
The mouse cursor is no longer incorrectly shown in the IHNM demo

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:33:09 UTC (rev 28251)
+++ scummvm/trunk/engines/saga/gfx.cpp	2007-07-28 00:40:04 UTC (rev 28252)
@@ -406,7 +406,8 @@
 }
 
 void Gfx::showCursor(bool state) {
-	CursorMan.showMouse(state);
+	if (_vm->getGameId() != GID_IHNM_DEMO)	// Don't show the mouse cursor in the IHNM demo
+		CursorMan.showMouse(state);
 }
 
 void Gfx::setCursor(CursorType cursorType) {


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