[Scummvm-cvs-logs] SF.net SVN: scummvm: [31688] scummvm/trunk/engines/kyra/items_v3.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Apr 24 15:16:46 CEST 2008


Revision: 31688
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31688&view=rev
Author:   lordhoto
Date:     2008-04-24 06:16:46 -0700 (Thu, 24 Apr 2008)

Log Message:
-----------
Fixed command line string when picking up item.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/items_v3.cpp

Modified: scummvm/trunk/engines/kyra/items_v3.cpp
===================================================================
--- scummvm/trunk/engines/kyra/items_v3.cpp	2008-04-24 13:14:39 UTC (rev 31687)
+++ scummvm/trunk/engines/kyra/items_v3.cpp	2008-04-24 13:16:46 UTC (rev 31688)
@@ -438,12 +438,12 @@
 		_itemList[itemPos].id = 0xFFFF;
 		playSoundEffect(0x0B, 0xC8);
 		setMouseCursor(itemId);
-		int str2 = 7;
+		int itemString = 0;
 
 		//if (_lang == 1)
-		//	str2 = getItemCommandStringPickUp(itemId);
+		//	itemString = getItemCommandStringPickUp(itemId);
 
-		updateItemCommand(itemId, str2, 0xFF);
+		updateItemCommand(itemId, itemString, 0xFF);
 		_itemInHand = itemId;
 		_screen->showMouse();
 


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