summaryrefslogtreecommitdiff
path: root/src/net/inventoryhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-08 22:58:42 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-08 22:58:42 -0600
commit0644076cbb731d1f7a55b66bf6d16a309cccea01 (patch)
treeb51c18e826cf06c5b0a62080e0686920dc26fd35 /src/net/inventoryhandler.cpp
parent6099a24784843ac2c6eb4036f5c08bba2f9299c3 (diff)
downloadmana-client-0644076cbb731d1f7a55b66bf6d16a309cccea01.tar.gz
mana-client-0644076cbb731d1f7a55b66bf6d16a309cccea01.tar.bz2
mana-client-0644076cbb731d1f7a55b66bf6d16a309cccea01.tar.xz
mana-client-0644076cbb731d1f7a55b66bf6d16a309cccea01.zip
Forgot the actual storage window
Diffstat (limited to 'src/net/inventoryhandler.cpp')
-rw-r--r--src/net/inventoryhandler.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/net/inventoryhandler.cpp b/src/net/inventoryhandler.cpp
index ebcca885..243d1e79 100644
--- a/src/net/inventoryhandler.cpp
+++ b/src/net/inventoryhandler.cpp
@@ -215,14 +215,13 @@ void InventoryHandler::handleMessage(MessageIn *msg)
case SMSG_PLAYER_STORAGE_STATUS:
/*
- * Basic slots used vs total slots info
- * We don't really need this information, but this is
- * the closest we get to an "Open Storage" packet
- * from the server. It always comes after the two
- * SMSG_PLAYER_STORAGE_... packets that update
- * storage contents.
+ * This is the closest we get to an "Open Storage" packet from the
+ * server. It always comes after the two SMSG_PLAYER_STORAGE_...
+ * packets that update storage contents.
*/
player_node->setInStorage(true);
+ msg->readInt16(); // Storage capacity
+ msg->readInt16(); // Used count
break;
case SMSG_PLAYER_STORAGE_ADD: