diff options
Diffstat (limited to 'engines/parallaction/inventory.cpp')
-rw-r--r-- | engines/parallaction/inventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/inventory.cpp b/engines/parallaction/inventory.cpp index c9e74b2074..2804578c84 100644 --- a/engines/parallaction/inventory.cpp +++ b/engines/parallaction/inventory.cpp @@ -157,7 +157,7 @@ void Parallaction::dropItem(uint16 v) { bool found = false; for (uint16 slot = 0; slot < INVENTORY_MAX_ITEMS - 1; slot++) { - if (v + INVENTORY_FIRST_ITEM == _inventory[slot]._index) { + if (v == _inventory[slot]._index) { found = true; } |