summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 3499962fe..c6838fe19 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -362,6 +362,10 @@ void InventoryHandler::processPlayerInventory(Net::MessageIn &msg)
}
msg.readInt16("len");
+
+ if (!playerInvintory)
+ msg.readString(24, "storage name");
+
const int number = (msg.getLength() - 4) / 23;
for (int loop = 0; loop < number; loop++)