summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorcpasjuste <cpasjuste@gmail.com>2020-04-25 09:13:02 +0200
committercpasjuste <cpasjuste@gmail.com>2020-04-25 09:13:02 +0200
commit82735cd2e2d11376fc4f2576542f0f578bb3ed7a (patch)
treed32e267eddebaa7d89e525e7122864ca3acc7431 /src/defaults.cpp
parentc4fad09b3d29679b15d456f6cc0d61b0f59a8d4c (diff)
downloadmanaverse-82735cd2e2d11376fc4f2576542f0f578bb3ed7a.tar.gz
manaverse-82735cd2e2d11376fc4f2576542f0f578bb3ed7a.tar.bz2
manaverse-82735cd2e2d11376fc4f2576542f0f578bb3ed7a.tar.xz
manaverse-82735cd2e2d11376fc4f2576542f0f578bb3ed7a.zip
add "SAVE_PASSWORD" define option
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 3ece72195..91c9e11b3 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -178,6 +178,9 @@ void setConfigDefaults(Configuration &cfg)
AddDEF("musicVolume", 60);
AddDEF("remember", false);
AddDEF("username", "");
+#ifdef SAVE_PASSWORD
+ AddDEF("password", "");
+#endif
AddDEF("lastCharacter", "");
AddDEF("altfpslimit", 5);
AddDEF("updatehost", "");