[Scummvm-cvs-logs] SF.net SVN: scummvm:[42927] scummvm/branches/branch-1-0-0/engines/kyra/ items_mr.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Jul 30 16:32:00 CEST 2009


Revision: 42927
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42927&view=rev
Author:   lordhoto
Date:     2009-07-30 14:31:54 +0000 (Thu, 30 Jul 2009)

Log Message:
-----------
Backport of r42926: Fix bug which caused the mouse cursor not to update in some cases.

Modified Paths:
--------------
    scummvm/branches/branch-1-0-0/engines/kyra/items_mr.cpp

Modified: scummvm/branches/branch-1-0-0/engines/kyra/items_mr.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/kyra/items_mr.cpp	2009-07-30 14:24:23 UTC (rev 42926)
+++ scummvm/branches/branch-1-0-0/engines/kyra/items_mr.cpp	2009-07-30 14:31:54 UTC (rev 42927)
@@ -87,7 +87,8 @@
 		shape = item+248;
 	}
 
-	if ((int16)item != _itemInHand)
+	_mouseState = item;
+	if ((int16)item >= 0)
 		_screen->setMouseCursor(hotX, hotY, getShapePtr(shape));
 }
 


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