diff options
author | Johannes Schickel | 2008-04-24 13:16:46 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-04-24 13:16:46 +0000 |
commit | caa7a4787c1b20946bc931dd5b907ce563163064 (patch) | |
tree | 94afcbcf097ea9a1540c0b3691bbb1ea71991121 /engines | |
parent | e360eb13f87f6825cc11ffa01b270cbeabb94aae (diff) | |
download | scummvm-rg350-caa7a4787c1b20946bc931dd5b907ce563163064.tar.gz scummvm-rg350-caa7a4787c1b20946bc931dd5b907ce563163064.tar.bz2 scummvm-rg350-caa7a4787c1b20946bc931dd5b907ce563163064.zip |
Fixed command line string when picking up item.
svn-id: r31688
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/items_v3.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/items_v3.cpp b/engines/kyra/items_v3.cpp index 809d276b74..822caa2e5b 100644 --- a/engines/kyra/items_v3.cpp +++ b/engines/kyra/items_v3.cpp @@ -438,12 +438,12 @@ bool KyraEngine_v3::pickUpItem(int x, int y, int runScript) { _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(); |