summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-13 18:49:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-13 18:49:23 +0300
commit56373bec70b817dded49a3de69a21cdbee21873f (patch)
tree3c674c14cb7d708e66cf2eb5f475c6bd7a5d7819 /src/defaults.cpp
parent02b72b24657ef2471b143699b8a99fecc4dc2390 (diff)
downloadmv-56373bec70b817dded49a3de69a21cdbee21873f.tar.gz
mv-56373bec70b817dded49a3de69a21cdbee21873f.tar.bz2
mv-56373bec70b817dded49a3de69a21cdbee21873f.tar.xz
mv-56373bec70b817dded49a3de69a21cdbee21873f.zip
Add default gm level for legacy server, because real level almost always hidden.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index e5b1a1036..698436614 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -684,12 +684,15 @@ DefaultsData* getPathsDefaults()
AddDEF("emptyAtlasName", "ignored");
AddDEF("skillCastingAnimation", "");
AddDEF("languageIcons", "graphics/badges/flags");
-
AddDEF("palettesDir", "");
AddDEF("defaultPaletteFile", "palette.gpl");
AddDEF("overweightPercent", 50);
+#ifdef TMWA_SUPPORT
+ AddDEF("gmDefaultLevel", 60);
+#endif // TMWA_SUPPORT
+
return configData;
}