From 546dbf3c532d4749be8128884255c0912de454c9 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 18 Oct 2013 18:01:19 +0200 Subject: [PATCH] Fixed item-breaking. This fixes #232. --- source/Inventory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }