]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Settings.cpp
Account active is now stored as an integer to avoid weird loops to find the right id
[lugaru.git] / Source / Settings.cpp
index fd3e03d4fde7fa292f123b274b9130c21f6bdee1..e962d0b2a8207f515b2d6f945f5d06a8ffc5ecf8 100644 (file)
@@ -52,7 +52,7 @@ void DefaultSettings()
     velocityblur = 0;
     volume = 0.8f;
     ambientsound = 1;
-    debugmode = 0;
+    devtools = 0;
 
     crouchkey = SDL_SCANCODE_LSHIFT;
     jumpkey = SDL_SCANCODE_SPACE;
@@ -245,8 +245,8 @@ bool LoadSettings()
             ipstream >> damageeffects;
         } else if ( !strncmp(setting, "Text", 4) ) {
             ipstream >> texttoggle;
-        } else if ( !strncmp(setting, "Debug", 5) ) {
-            ipstream >> debugmode;
+        } else if ( !strncmp(setting, "Devtools", 5) ) {
+            ipstream >> devtools;
         } else if ( !strncmp(setting, "Show Points", 11) ) {
             ipstream >> showpoints;
         } else if ( !strncmp(setting, "Always Blur", 11) ) {