summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/inventoryhandler.cpp')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index 7113cddb3..afec336c7 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -490,7 +490,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
identified = 1;
if (inventory)
- inventory->setItem(index, itemId, 1, refine, identified, true);
+ {
+ inventory->setItem(index, itemId, 1, refine,
+ identified, true);
+ }
if (equipType)
mEquips.setEquipment(getSlot(equipType), index);