diff options
-rw-r--r-- | engines/kyra/gui_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/gui_v2.cpp b/engines/kyra/gui_v2.cpp index bbb51adda5..cfaa9f4d2c 100644 --- a/engines/kyra/gui_v2.cpp +++ b/engines/kyra/gui_v2.cpp @@ -573,7 +573,7 @@ int KyraEngine_v2::buttonInventory(Button *button) { uint16 item = _mainCharacter.inventory[inventorySlot]; if (_itemInHand == -1) { - if (item == -1) + if (item == 0xFFFF) return 0; _screen->hideMouse(); clearInventorySlot(inventorySlot, 0); |