summaryrefslogtreecommitdiff
path: root/src/net/ea
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/ea
parent0295c338fcb43f10f6dbc664c0f86021464248c7 (diff)
downloadmanaplus-421f7cf60e960b340a70fc75022ffaff2558eb48.tar.gz
manaplus-421f7cf60e960b340a70fc75022ffaff2558eb48.tar.bz2
manaplus-421f7cf60e960b340a70fc75022ffaff2558eb48.tar.xz
manaplus-421f7cf60e960b340a70fc75022ffaff2558eb48.zip
Rename packet SMSG_MVP into SMSG_MVP_EFFECT.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/chathandler.cpp6
-rw-r--r--src/net/ea/chathandler.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 30bef2118..68a9fdbdf 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -153,9 +153,9 @@ void ChatHandler::processWhisperResponseContinue(const uint8_t type)
BLOCK_END("ChatHandler::processWhisperResponse")
}
-void ChatHandler::processMVP(Net::MessageIn &msg)
+void ChatHandler::processMVPEffect(Net::MessageIn &msg)
{
- BLOCK_START("ChatHandler::processMVP")
+ BLOCK_START("ChatHandler::processMVPEffect")
// Display MVP player
const int id = msg.readInt32("being id");
if (localChatTab && actorManager && config.getBoolValue("showMVP"))
@@ -166,7 +166,7 @@ void ChatHandler::processMVP(Net::MessageIn &msg)
else
NotifyManager::notify(NotifyTypes::MVP_PLAYER, being->getName());
}
- BLOCK_END("ChatHandler::processMVP")
+ BLOCK_END("ChatHandler::processMVPEffect")
}
void ChatHandler::processIgnoreAllResponse(Net::MessageIn &msg)
diff --git a/src/net/ea/chathandler.h b/src/net/ea/chathandler.h
index fd2a67fa7..2ed9282f8 100644
--- a/src/net/ea/chathandler.h
+++ b/src/net/ea/chathandler.h
@@ -47,7 +47,7 @@ class ChatHandler notfinal : public Net::ChatHandler
void me(const std::string &restrict text,
const std::string &restrict channel) const override final;
- static void processMVP(Net::MessageIn &msg);
+ static void processMVPEffect(Net::MessageIn &msg);
static void processIgnoreAllResponse(Net::MessageIn &msg);