diff options
-rw-r--r-- | src/net/tmwa/inventoryrecv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/inventoryrecv.cpp b/src/net/tmwa/inventoryrecv.cpp index 1bc89676a..30e30502d 100644 --- a/src/net/tmwa/inventoryrecv.cpp +++ b/src/net/tmwa/inventoryrecv.cpp @@ -481,7 +481,7 @@ void InventoryRecv::processPlayerStorageRemove(Net::MessageIn &msg) BLOCK_START("InventoryRecv::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 (Ea::InventoryRecv::mStorage) { if (Item *const item = Ea::InventoryRecv::mStorage->getItem(index)) |