summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-29 12:00:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-29 12:00:44 +0300
commit523c9239668819844966097bd82445863d89103f (patch)
tree36302098c08aa324a03dd8311edc11b0ac1bfbd9 /src/net/tmwa/inventoryhandler.cpp
parente54f285078ef704950648829d50cef7a9265e9fd (diff)
downloadmanaplus-523c9239668819844966097bd82445863d89103f.tar.gz
manaplus-523c9239668819844966097bd82445863d89103f.tar.bz2
manaplus-523c9239668819844966097bd82445863d89103f.tar.xz
manaplus-523c9239668819844966097bd82445863d89103f.zip
Fix typo in packet name CMSG_MOVE_FROM_STORAGE.
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 962eed43c..7fedc5574 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -234,7 +234,7 @@ void InventoryHandler::moveItem2(const int source, const int slot,
else if (source == InventoryType::STORAGE
&& destination == InventoryType::INVENTORY)
{
- createOutPacket(CSMG_MOVE_FROM_STORAGE);
+ createOutPacket(CMSG_MOVE_FROM_STORAGE);
outMsg.writeInt16(static_cast<int16_t>(slot + STORAGE_OFFSET),
"index");
outMsg.writeInt32(amount, "amount");