summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorDennis Friis <peavey@inspircd.org>2009-06-29 23:28:59 +0200
committerDennis Friis <peavey@inspircd.org>2009-06-29 23:28:59 +0200
commit61e3f1110adafa7a5aacc8db745fab7e25e9e695 (patch)
tree789e71e7e7ed71783794694c4a655a7548dfc92c /src/net
parentd9443c2845764dd2e6842b4aec9528c79213cabe (diff)
downloadmana-61e3f1110adafa7a5aacc8db745fab7e25e9e695.tar.gz
mana-61e3f1110adafa7a5aacc8db745fab7e25e9e695.tar.bz2
mana-61e3f1110adafa7a5aacc8db745fab7e25e9e695.tar.xz
mana-61e3f1110adafa7a5aacc8db745fab7e25e9e695.zip
Remove local remove of items from equipment window when unequipping.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/inventoryhandler.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index e9c9f91c..c1f04661 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -324,9 +324,6 @@ void InventoryHandler::unequipItem(const Item *item)
MessageOut outMsg(CMSG_PLAYER_UNEQUIP);
outMsg.writeInt16(item->getInvIndex() + INVENTORY_OFFSET);
-
- // Tidy equipment directly to avoid weapon still shown bug, for instance
- player_node->mEquipment->removeEquipment(item->getInvIndex());
}
void InventoryHandler::useItem(const Item *item)