From 5a189e3fbf4e49d352ff68113211d6b59d9217c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Sep 2014 15:28:46 +0300 Subject: eathena: fix inventory reading in processPlayerInventory. --- src/net/eathena/inventoryhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 487b22a9f..65e92ed7c 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -406,7 +406,7 @@ void InventoryHandler::processPlayerInventory(Net::MessageIn &msg) msg.readInt16("len"); - const int number = (msg.getLength() - 4) / 23; + const int number = (msg.getLength() - 4) / 24; const uint8_t identified = 1; for (int loop = 0; loop < number; loop++) -- cgit v1.2.3-70-g09d2