summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-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++)
{