diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-19 15:28:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-19 15:28:46 +0300 |
commit | 5a189e3fbf4e49d352ff68113211d6b59d9217c8 (patch) | |
tree | 78906b6680d2830cdd5fb362c4b231fc84288dee /src/net/eathena/inventoryhandler.cpp | |
parent | fff70c8f8b5ca96e13d458f03caa21386b96c647 (diff) | |
download | mv-5a189e3fbf4e49d352ff68113211d6b59d9217c8.tar.gz mv-5a189e3fbf4e49d352ff68113211d6b59d9217c8.tar.bz2 mv-5a189e3fbf4e49d352ff68113211d6b59d9217c8.tar.xz mv-5a189e3fbf4e49d352ff68113211d6b59d9217c8.zip |
eathena: fix inventory reading in processPlayerInventory.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 2 |
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++) |