[Scummvm-cvs-logs] SF.net SVN: scummvm:[33220] scummvm/trunk/engines/parallaction/input.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Wed Jul 23 04:01:15 CEST 2008


Revision: 33220
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33220&view=rev
Author:   peres001
Date:     2008-07-23 02:01:15 +0000 (Wed, 23 Jul 2008)

Log Message:
-----------
Fixed mouse cursor when closing inventory.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/input.cpp

Modified: scummvm/trunk/engines/parallaction/input.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/input.cpp	2008-07-23 01:07:39 UTC (rev 33219)
+++ scummvm/trunk/engines/parallaction/input.cpp	2008-07-23 02:01:15 UTC (rev 33220)
@@ -333,7 +333,11 @@
 	}
 
 	_vm->closeInventory();
-	_vm->setInventoryCursor(item);
+	if (item == -1) {
+		_vm->setArrowCursor();
+	} else {
+		_vm->setInventoryCursor(item);
+	}
 	_vm->resumeJobs();
 }
 


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