summaryrefslogtreecommitdiff
path: root/src/net/eathena
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/eathena
parente54f285078ef704950648829d50cef7a9265e9fd (diff)
downloadplus-523c9239668819844966097bd82445863d89103f.tar.gz
plus-523c9239668819844966097bd82445863d89103f.tar.bz2
plus-523c9239668819844966097bd82445863d89103f.tar.xz
plus-523c9239668819844966097bd82445863d89103f.zip
Fix typo in packet name CMSG_MOVE_FROM_STORAGE.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/inventoryhandler.cpp2
-rw-r--r--src/net/eathena/protocol.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 9de9d2141..278ca03bb 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -366,7 +366,7 @@ void InventoryHandler::moveItem2(const int source,
{
offset = STORAGE_OFFSET;
if (destination == InventoryType::INVENTORY)
- packet = CSMG_MOVE_FROM_STORAGE;
+ packet = CMSG_MOVE_FROM_STORAGE;
else if (destination == InventoryType::CART)
packet = CMSG_MOVE_FROM_STORAGE_TO_CART;
}
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index cfe8927d4..d290e3a20 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -557,7 +557,7 @@
#define CMSG_PARTY_ALLOW_INVITES 0x02c8
#define CMSG_MOVE_TO_STORAGE 0x07ec /** Move item to storage */
-#define CSMG_MOVE_FROM_STORAGE 0x085b /** Remove item from storage */
+#define CMSG_MOVE_FROM_STORAGE 0x085b /** Remove item from storage */
#define CMSG_CLOSE_STORAGE 0x0193 /** Request storage close */
#define CMSG_MOVE_TO_CART 0x0126