[Scummvm-cvs-logs] SF.net SVN: scummvm:[55847] scummvm/trunk/engines/lastexpress/game/logic. cpp

Littleboy at users.sourceforge.net Littleboy at users.sourceforge.net
Wed Feb 9 01:23:49 CET 2011


Revision: 55847
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55847&view=rev
Author:   Littleboy
Date:     2011-02-09 00:23:49 +0000 (Wed, 09 Feb 2011)

Log Message:
-----------
LASTEXPRESS: Properly update cursor when hovering Egg and inventory items

Modified Paths:
--------------
    scummvm/trunk/engines/lastexpress/game/logic.cpp

Modified: scummvm/trunk/engines/lastexpress/game/logic.cpp
===================================================================
--- scummvm/trunk/engines/lastexpress/game/logic.cpp	2011-02-09 00:23:35 UTC (rev 55846)
+++ scummvm/trunk/engines/lastexpress/game/logic.cpp	2011-02-09 00:23:49 UTC (rev 55847)
@@ -223,6 +223,9 @@
 
 	//////////////////////////////////////////////////////////////////////////
 	// Handle standard actions
+	if (getInventory()->isFlag1() || getInventory()->isFlag2() || getInventory()->isEggHighlighted())
+		_engine->getCursor()->setStyle(kCursorNormal);
+
 	if (hotspotHandled || getInventory()->isFlag1() || getInventory()->isFlag2() || getInventory()->isEggHighlighted())
 		return;
 


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