[Scummvm-cvs-logs] SF.net SVN: scummvm:[42926] scummvm/trunk/engines/kyra/items_mr.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Thu Jul 30 16:24:23 CEST 2009
Revision: 42926
http://scummvm.svn.sourceforge.net/scummvm/?rev=42926&view=rev
Author: lordhoto
Date: 2009-07-30 14:24:23 +0000 (Thu, 30 Jul 2009)
Log Message:
-----------
Fix bug which caused the mouse cursor not to update in some cases.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/items_mr.cpp
Modified: scummvm/trunk/engines/kyra/items_mr.cpp
===================================================================
--- scummvm/trunk/engines/kyra/items_mr.cpp 2009-07-30 14:14:02 UTC (rev 42925)
+++ scummvm/trunk/engines/kyra/items_mr.cpp 2009-07-30 14:24:23 UTC (rev 42926)
@@ -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