From 10e3c262db1ca37f1dabae7400246ec56a3c19cd Mon Sep 17 00:00:00 2001 From: Howaner Date: Wed, 7 May 2014 20:59:25 +0200 Subject: Send item back to the client when the item get damage. --- src/Inventory.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Inventory.cpp b/src/Inventory.cpp index c7c089d5f..a365e4ed4 100644 --- a/src/Inventory.cpp +++ b/src/Inventory.cpp @@ -376,6 +376,7 @@ bool cInventory::DamageItem(int a_SlotNum, short a_Amount) if (!Grid->DamageItem(GridSlotNum, a_Amount)) { // The item has been damaged, but did not break yet + SendSlot(a_SlotNum); return false; } -- cgit v1.2.3