From 61e3f1110adafa7a5aacc8db745fab7e25e9e695 Mon Sep 17 00:00:00 2001
From: Dennis Friis <peavey@inspircd.org>
Date: Mon, 29 Jun 2009 23:28:59 +0200
Subject: Remove local remove of items from equipment window when unequipping.

---
 src/net/ea/inventoryhandler.cpp | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'src')

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)
-- 
cgit v1.2.3-70-g09d2