summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-11 15:06:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-11 15:06:25 +0300
commita09da2427062c4454bd9691489289d45b3473fda (patch)
tree4a18b8bd20c1339bc3c7e39d8aa59797e2f50a48 /src/net
parente422b84e253eacdbecdd0e75860de783aeefb1d8 (diff)
downloadManaVerse-a09da2427062c4454bd9691489289d45b3473fda.tar.gz
ManaVerse-a09da2427062c4454bd9691489289d45b3473fda.tar.bz2
ManaVerse-a09da2427062c4454bd9691489289d45b3473fda.tar.xz
ManaVerse-a09da2427062c4454bd9691489289d45b3473fda.zip
Add option to enable/disable weight notifications.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/playerhandler.cpp2
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;