diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-11 15:06:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-11 15:06:25 +0300 |
commit | a09da2427062c4454bd9691489289d45b3473fda (patch) | |
tree | 4a18b8bd20c1339bc3c7e39d8aa59797e2f50a48 /src/net/ea/playerhandler.cpp | |
parent | e422b84e253eacdbecdd0e75860de783aeefb1d8 (diff) | |
download | mv-a09da2427062c4454bd9691489289d45b3473fda.tar.gz mv-a09da2427062c4454bd9691489289d45b3473fda.tar.bz2 mv-a09da2427062c4454bd9691489289d45b3473fda.tar.xz mv-a09da2427062c4454bd9691489289d45b3473fda.zip |
Add option to enable/disable weight notifications.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index b19121a00..61da61b65 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -327,7 +327,7 @@ void PlayerHandler::processPlayerStatUpdate1(Net::MessageIn &msg) skillDialog->update(); break; case 0x0018: - if (!weightNotice) + if (!weightNotice && config.getBoolValue("weightMsg")) { const int max = PlayerInfo::getAttribute( PlayerInfo::MAX_WEIGHT) / 2; |