summaryrefslogtreecommitdiff
path: root/src/net/ea/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-10 23:32:35 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-10 23:32:35 +0300
commit66f4de3a19e8692a10f4ab1345769c7ccc914090 (patch)
tree809ed86f749fae05f638d73729addea225e71274 /src/net/ea/chathandler.cpp
parent881501a05400f58df76036e59313d08305c0b494 (diff)
downloadmv-66f4de3a19e8692a10f4ab1345769c7ccc914090.tar.gz
mv-66f4de3a19e8692a10f4ab1345769c7ccc914090.tar.bz2
mv-66f4de3a19e8692a10f4ab1345769c7ccc914090.tar.xz
mv-66f4de3a19e8692a10f4ab1345769c7ccc914090.zip
Add option to show/hide MVP messages.
By default this messages hidden.
Diffstat (limited to 'src/net/ea/chathandler.cpp')
-rw-r--r--src/net/ea/chathandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 3863fc6f3..60af645be 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -338,7 +338,7 @@ void ChatHandler::processMVP(Net::MessageIn &msg)
{
// Display MVP player
int id = msg.readInt32(); // id
- if (localChatTab && actorSpriteManager)
+ if (localChatTab && actorSpriteManager && config.getBoolValue("showMVP"))
{
Being *being = actorSpriteManager->findBeing(id);
if (!being)