summaryrefslogtreecommitdiffstats
path: root/source/Inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Inventory.cpp')
-rw-r--r--source/Inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Inventory.cpp b/source/Inventory.cpp
index c104db4c7..d5fc7f0d8 100644
--- a/source/Inventory.cpp
+++ b/source/Inventory.cpp
@@ -374,7 +374,7 @@ bool cInventory::DamageItem(int a_SlotNum, short a_Amount)
}
// The item has broken, remove it:
- Grid->EmptySlot(a_SlotNum);
+ Grid->EmptySlot(GridSlotNum);
return true;
}