summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/inventoryrecv.cpp')
-rw-r--r--src/net/tmwa/inventoryrecv.cpp2
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))