summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-19 15:28:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-19 15:28:46 +0300
commit5a189e3fbf4e49d352ff68113211d6b59d9217c8 (patch)
tree78906b6680d2830cdd5fb362c4b231fc84288dee /src
parentfff70c8f8b5ca96e13d458f03caa21386b96c647 (diff)
downloadmanaplus-5a189e3fbf4e49d352ff68113211d6b59d9217c8.tar.gz
manaplus-5a189e3fbf4e49d352ff68113211d6b59d9217c8.tar.bz2
manaplus-5a189e3fbf4e49d352ff68113211d6b59d9217c8.tar.xz
manaplus-5a189e3fbf4e49d352ff68113211d6b59d9217c8.zip
eathena: fix inventory reading in processPlayerInventory.
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 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++)