diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-29 12:00:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-29 12:00:44 +0300 |
commit | 523c9239668819844966097bd82445863d89103f (patch) | |
tree | 36302098c08aa324a03dd8311edc11b0ac1bfbd9 /src/net/tmwa | |
parent | e54f285078ef704950648829d50cef7a9265e9fd (diff) | |
download | manaverse-523c9239668819844966097bd82445863d89103f.tar.gz manaverse-523c9239668819844966097bd82445863d89103f.tar.bz2 manaverse-523c9239668819844966097bd82445863d89103f.tar.xz manaverse-523c9239668819844966097bd82445863d89103f.zip |
Fix typo in packet name CMSG_MOVE_FROM_STORAGE.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/inventoryhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/protocol.h | 2 |
2 files changed, 2 insertions, 2 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"); diff --git a/src/net/tmwa/protocol.h b/src/net/tmwa/protocol.h index 82ba472ab..388a49729 100644 --- a/src/net/tmwa/protocol.h +++ b/src/net/tmwa/protocol.h @@ -257,7 +257,7 @@ #define CMSG_PARTY_MESSAGE 0x0108 #define CMSG_MOVE_TO_STORAGE 0x00f3 /** Move item to storage */ -#define CSMG_MOVE_FROM_STORAGE 0x00f5 /** Remove item from storage */ +#define CMSG_MOVE_FROM_STORAGE 0x00f5 /** Remove item from storage */ #define CMSG_CLOSE_STORAGE 0x00f7 /** Request storage close */ #define CMSG_ADMIN_ANNOUNCE 0x0099 |