summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-22 12:05:34 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-22 12:05:34 -0600
commitf8b463d9fdd249f06ff48c128d17c83637e010dd (patch)
tree7036026d31a5ae30d584487794ed0f6409d4cc11 /src/net/ea/inventoryhandler.cpp
parent95fc361288426b819338f1743e67e05c7882fc73 (diff)
downloadmana-f8b463d9fdd249f06ff48c128d17c83637e010dd.tar.gz
mana-f8b463d9fdd249f06ff48c128d17c83637e010dd.tar.bz2
mana-f8b463d9fdd249f06ff48c128d17c83637e010dd.tar.xz
mana-f8b463d9fdd249f06ff48c128d17c83637e010dd.zip
Fix bug with clearing inventory on map warp
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r--src/net/ea/inventoryhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 172e3e95..6ee974fc 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -87,6 +87,7 @@ void InventoryHandler::handleMessage(MessageIn &msg)
if (msg.getId() == SMSG_PLAYER_INVENTORY)
{
// Clear inventory - this will be a complete refresh
+ clearEquipment();
inventory->clear();
}
else