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/defaults.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/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index 476603507..596f56f47 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -670,6 +670,8 @@ DefaultsData* getPathsDefaults() AddDEF("palettesDir", ""); AddDEF("defaultPaletteFile", "palette.gpl"); + AddDEF("overweightPercent", 50); + return configData; } |