summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-01 00:39:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-01 00:39:23 +0300
commite806fa54f2735bfb2587cb20f2836345384af070 (patch)
treeceeae271481902e11aef7db8491e41ffaca7be32 /src
parent23e0b9550304fa4c8f412c09ce67d307d1878312 (diff)
downloadmv-e806fa54f2735bfb2587cb20f2836345384af070.tar.gz
mv-e806fa54f2735bfb2587cb20f2836345384af070.tar.bz2
mv-e806fa54f2735bfb2587cb20f2836345384af070.tar.xz
mv-e806fa54f2735bfb2587cb20f2836345384af070.zip
eathena: fix packet SMSG_PLAYER_STORAGE_ITEMS.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/inventoryhandler.cpp2
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++)
{