summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-06 20:26:56 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 20:26:56 +0300
commitf88429f9c991cd90bfad76b4aba93cb312aaa342 (patch)
treef0a218ded25c399454d2911b65b58f246bd9bd0a /src/net/eathena/inventoryhandler.cpp
parentcac4c3021450989df296d1c6821f83589f7104f0 (diff)
downloadmanaplus-f88429f9c991cd90bfad76b4aba93cb312aaa342.tar.gz
manaplus-f88429f9c991cd90bfad76b4aba93cb312aaa342.tar.bz2
manaplus-f88429f9c991cd90bfad76b4aba93cb312aaa342.tar.xz
manaplus-f88429f9c991cd90bfad76b4aba93cb312aaa342.zip
eathena: fix packet SMSG_PLAYER_STORAGE_ITEMS 0x0995.
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++)