diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-28 16:18:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-28 16:18:47 +0300 |
commit | d9dab8f2d9436b84a318cd5df171ba96dd4ec5ac (patch) | |
tree | c90aa6fdafa9481610168368acf7a1017fe75491 /src/client.cpp | |
parent | c24610711a456f5f572cef6f64f5620aa2e48669 (diff) | |
download | manaplus-d9dab8f2d9436b84a318cd5df171ba96dd4ec5ac.tar.gz manaplus-d9dab8f2d9436b84a318cd5df171ba96dd4ec5ac.tar.bz2 manaplus-d9dab8f2d9436b84a318cd5df171ba96dd4ec5ac.tar.xz manaplus-d9dab8f2d9436b84a318cd5df171ba96dd4ec5ac.zip |
Add paths.xml option overweightPercent for show overweight message.
Default value: 50
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index b7f62415b..51ad12106 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1870,6 +1870,7 @@ void Client::initPaths() settings.linkCommandSymbol = paths.getStringValue("linkCommandSymbol"); if (settings.linkCommandSymbol.empty()) settings.linkCommandSymbol = "="; + settings.overweightPercent = paths.getIntValue("overweightPercent"); } void Client::initTradeFilter() |