summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-04 16:27:43 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-04 16:27:43 +0200
commit47aa9bcf5eb537456abc393699c8fec07a4d5153 (patch)
tree453309d61789d8b27879abcc98c013cc7affd576 /src/net/tmwa/inventoryhandler.cpp
parentc3669ceb38114c68a6de11de46b0d3fd3713db59 (diff)
downloadmanaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.gz
manaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.bz2
manaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.xz
manaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.zip
Fix code style.
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);