aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/items_v3.cpp6
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();