From e806fa54f2735bfb2587cb20f2836345384af070 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 May 2015 00:39:23 +0300 Subject: eathena: fix packet SMSG_PLAYER_STORAGE_ITEMS. --- src/net/eathena/inventoryhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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++) { -- cgit v1.2.3-70-g09d2