From 421f7cf60e960b340a70fc75022ffaff2558eb48 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Mar 2015 21:41:43 +0300 Subject: Rename packet SMSG_MVP into SMSG_MVP_EFFECT. --- src/net/tmwa/chathandler.cpp | 6 +++--- src/net/tmwa/protocol.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/net/tmwa') 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 * -- cgit v1.2.3-60-g2f50