diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-10 23:32:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-10 23:32:35 +0300 |
commit | 66f4de3a19e8692a10f4ab1345769c7ccc914090 (patch) | |
tree | 809ed86f749fae05f638d73729addea225e71274 /src/net/ea/chathandler.cpp | |
parent | 881501a05400f58df76036e59313d08305c0b494 (diff) | |
download | mv-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.cpp | 2 |
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) |