diff options
-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)) |