summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5ae86d54..35943941 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -344,23 +344,23 @@ static void initConfiguration(const Options &options)
int defaultPort = (int)branding.getValue("defaultPort", 6901);
#endif
config.setValue("port", defaultPort);
- config.setValue("hwaccel", 0);
+ config.setValue("hwaccel", false);
#if (defined __APPLE__ || defined WIN32) && defined USE_OPENGL
- config.setValue("opengl", 1);
+ config.setValue("opengl", true);
#else
- config.setValue("opengl", 0);
+ config.setValue("opengl", false);
#endif
- config.setValue("screen", 0);
- config.setValue("sound", 1);
+ config.setValue("screen", false);
+ config.setValue("sound", true);
config.setValue("guialpha", 0.8f);
- config.setValue("remember", 1);
+ config.setValue("remember", true);
config.setValue("sfxVolume", 100);
config.setValue("musicVolume", 60);
config.setValue("fpslimit", 60);
std::string defaultUpdateHost = branding.getValue("defaultUpdateHost",
"http://updates.themanaworld.org");
config.setValue("updatehost", defaultUpdateHost);
- config.setValue("customcursor", 1);
+ config.setValue("customcursor", true);
config.setValue("ChatLogLength", 128);
// Checking if the configuration file exists... otherwise create it with