diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-13 19:45:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-13 19:45:56 +0300 |
commit | 2596b1c4a37e50be528049dcbfdbd506e9baced9 (patch) | |
tree | 8f094fe014e1410748385fa57be66cf95b23cabc | |
parent | fc9391444b92f8334cbf9918e97cc3563dc52997 (diff) | |
download | mv-2596b1c4a37e50be528049dcbfdbd506e9baced9.tar.gz mv-2596b1c4a37e50be528049dcbfdbd506e9baced9.tar.bz2 mv-2596b1c4a37e50be528049dcbfdbd506e9baced9.tar.xz mv-2596b1c4a37e50be528049dcbfdbd506e9baced9.zip |
eathena: fix packet SMSG_PLAYER_STORAGE_REMOVE.
-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 cb4c6051c..0704e1600 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -711,7 +711,7 @@ void InventoryHandler::processPlayerStorageRemove(Net::MessageIn &msg) BLOCK_START("InventoryHandler::processPlayerStorageRemove") // Move an item out of storage const int index = msg.readInt16("index") - STORAGE_OFFSET; - const int amount = msg.readInt16("amount"); + const int amount = msg.readInt32("amount"); if (mStorage) { if (Item *const item = mStorage->getItem(index)) |