]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/options.cxx
Launcher sets —no-default-config automatically.
[flightgear.git] / src / Main / options.cxx
index 6bfbbb7b7efdbfee2367d7327812feb06ed1d941..26eec78385079157636ff270faf72a10d3c535cf 100644 (file)
@@ -2628,6 +2628,11 @@ bool Options::shouldLoadDefaultConfig() const
   return p->shouldLoadDefaultConfig;
 }
 
+void Options::setShouldLoadDefaultConfig(bool load)
+{
+    p->shouldLoadDefaultConfig = load;
+}
+
 bool Options::checkForArg(int argc, char* argv[], const char* checkArg)
 {
     for (int i = 0; i < argc; ++i) {