summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-05-09 09:34:12 -0700
committerJared Adams <jaxad0127@gmail.com>2011-05-09 10:54:07 -0600
commit1d6311a5ffde800ece8d3085fb5fe7c2c9c50a58 (patch)
tree763ea7636ea6a19f8e00176c8ea5d33595ee7d9f /src/net/tmwa/inventoryhandler.cpp
parentd541170c0258217efdb02a4eb2303ddda1c9e774 (diff)
downloadmana-client-1d6311a5ffde800ece8d3085fb5fe7c2c9c50a58.tar.gz
mana-client-1d6311a5ffde800ece8d3085fb5fe7c2c9c50a58.tar.bz2
mana-client-1d6311a5ffde800ece8d3085fb5fe7c2c9c50a58.tar.xz
mana-client-1d6311a5ffde800ece8d3085fb5fe7c2c9c50a58.zip
Remove or comment duplicate tmwA packets, and fix a typo
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
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);