diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-06 20:26:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 20:26:56 +0300 |
commit | f88429f9c991cd90bfad76b4aba93cb312aaa342 (patch) | |
tree | f0a218ded25c399454d2911b65b58f246bd9bd0a /src/net/eathena/inventoryhandler.cpp | |
parent | cac4c3021450989df296d1c6821f83589f7104f0 (diff) | |
download | manaverse-f88429f9c991cd90bfad76b4aba93cb312aaa342.tar.gz manaverse-f88429f9c991cd90bfad76b4aba93cb312aaa342.tar.bz2 manaverse-f88429f9c991cd90bfad76b4aba93cb312aaa342.tar.xz manaverse-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.cpp | 4 |
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++) |