diff options
author | cpasjuste <cpasjuste@gmail.com> | 2020-04-25 09:13:02 +0200 |
---|---|---|
committer | cpasjuste <cpasjuste@gmail.com> | 2020-04-25 09:13:02 +0200 |
commit | 82735cd2e2d11376fc4f2576542f0f578bb3ed7a (patch) | |
tree | d32e267eddebaa7d89e525e7122864ca3acc7431 /src/defaults.cpp | |
parent | c4fad09b3d29679b15d456f6cc0d61b0f59a8d4c (diff) | |
download | manaplus-82735cd2e2d11376fc4f2576542f0f578bb3ed7a.tar.gz manaplus-82735cd2e2d11376fc4f2576542f0f578bb3ed7a.tar.bz2 manaplus-82735cd2e2d11376fc4f2576542f0f578bb3ed7a.tar.xz manaplus-82735cd2e2d11376fc4f2576542f0f578bb3ed7a.zip |
add "SAVE_PASSWORD" define option
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 3 |
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", ""); |