summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/inventoryhandler.cpp')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index aa084264..edb5e53f 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -522,7 +522,7 @@ void InventoryHandler::event(Event::Channel channel,
else if (source == Inventory::STORAGE
&& destination == Inventory::INVENTORY)
{
- MessageOut outMsg(CSMG_MOVE_FROM_STORAGE);
+ MessageOut outMsg(CMSG_MOVE_FROM_STORAGE);
outMsg.writeInt16(index - INVENTORY_OFFSET
+ STORAGE_OFFSET);
outMsg.writeInt32(amount);