diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-01 00:39:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-01 00:39:23 +0300 |
commit | e806fa54f2735bfb2587cb20f2836345384af070 (patch) | |
tree | ceeae271481902e11aef7db8491e41ffaca7be32 /src/net/eathena/inventoryhandler.cpp | |
parent | 23e0b9550304fa4c8f412c09ce67d307d1878312 (diff) | |
download | plus-e806fa54f2735bfb2587cb20f2836345384af070.tar.gz plus-e806fa54f2735bfb2587cb20f2836345384af070.tar.bz2 plus-e806fa54f2735bfb2587cb20f2836345384af070.tar.xz plus-e806fa54f2735bfb2587cb20f2836345384af070.zip |
eathena: fix packet SMSG_PLAYER_STORAGE_ITEMS.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 22d01e7a5..3781678cd 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -616,7 +616,7 @@ void InventoryHandler::processPlayerStorage(Net::MessageIn &msg) msg.readInt16("len"); msg.readString(24, "storage name"); - const int number = (msg.getLength() - 4 - 24) / 23; + const int number = (msg.getLength() - 4 - 24) / 24; for (int loop = 0; loop < number; loop++) { |