]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Settings.cpp
merge
[lugaru.git] / Source / Settings.cpp
index 7e62341d4b70bd1b5b6d4289b20eb19e66fa4455..dce0e0ec24951e58038e312765ea6b6bba9676fc 100644 (file)
@@ -28,7 +28,7 @@ void DefaultSettings(Game &game) {
        velocityblur=0;
        volume = 0.8f;
        ambientsound=1;
-       vblsync=0;
+       vblsync=1;
        debugmode=0;
        
        game.crouchkey=SDLK_LSHIFT;
@@ -145,6 +145,7 @@ bool LoadSettings(Game &game) {
                // skip blank lines
                // assume lines starting with spaces are all blank
                if ( strlen(setting) == 0 || setting[0] == ' ' || setting[0] == '\t') continue;
+               printf("setting : %s\n",setting);
 
                if ( ipstream.eof() || ipstream.fail() ) {
                        fprintf(stderr, "Error reading config file: Got setting name '%s', but value can't be read\n", setting);