summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 21:41:43 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 21:41:43 +0300
commit421f7cf60e960b340a70fc75022ffaff2558eb48 (patch)
tree2c67a12a5472c906a6ac92691ed239f020a474d8 /src/net/tmwa
parent0295c338fcb43f10f6dbc664c0f86021464248c7 (diff)
downloadmv-421f7cf60e960b340a70fc75022ffaff2558eb48.tar.gz
mv-421f7cf60e960b340a70fc75022ffaff2558eb48.tar.bz2
mv-421f7cf60e960b340a70fc75022ffaff2558eb48.tar.xz
mv-421f7cf60e960b340a70fc75022ffaff2558eb48.zip
Rename packet SMSG_MVP into SMSG_MVP_EFFECT.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp6
-rw-r--r--src/net/tmwa/protocol.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index e4066e91f..75d14e7ce 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -65,7 +65,7 @@ ChatHandler::ChatHandler() :
SMSG_WHISPER,
SMSG_WHISPER_RESPONSE,
SMSG_GM_CHAT,
- SMSG_MVP, // MVP
+ SMSG_MVP_EFFECT,
SMSG_IGNORE_ALL_RESPONSE,
0
};
@@ -109,8 +109,8 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
processGmChat(msg);
break;
- case SMSG_MVP:
- processMVP(msg);
+ case SMSG_MVP_EFFECT:
+ processMVPEffect(msg);
break;
case SMSG_IGNORE_ALL_RESPONSE:
diff --git a/src/net/tmwa/protocol.h b/src/net/tmwa/protocol.h
index 9fbcb0bba..a5c959878 100644
--- a/src/net/tmwa/protocol.h
+++ b/src/net/tmwa/protocol.h
@@ -185,7 +185,7 @@
#define SMSG_GUILD_OPPOSITION_ACK 0x0181
#define SMSG_GUILD_BROKEN 0x015e
-#define SMSG_MVP 0x010c
+#define SMSG_MVP_EFFECT 0x010c
/**********************************
* Packets from client to server *