X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSettings.cpp;h=fd3e03d4fde7fa292f123b274b9130c21f6bdee1;hb=6d0b9e981b34f3141c488bbe13db3f8cbbb5d754;hp=fe6c37b13881a169684e3178fabd493fe574dd34;hpb=26200179711ba8a4faa41ae77b85a808d46255f4;p=lugaru.git diff --git a/Source/Settings.cpp b/Source/Settings.cpp index fe6c37b..fd3e03d 100644 --- a/Source/Settings.cpp +++ b/Source/Settings.cpp @@ -64,6 +64,8 @@ void DefaultSettings() throwkey = SDL_SCANCODE_Q; attackkey = MOUSEBUTTON1; consolekey = SDL_SCANCODE_GRAVE; + + newdetail = detail; } void SaveSettings() @@ -166,6 +168,7 @@ void SaveSettings() opstream << stereoseparation; opstream << "\nStereoReverse:\n"; opstream << stereoreverse; + opstream << "\n"; opstream.close(); } @@ -313,5 +316,6 @@ bool LoadSettings() if (screenheight < 0) screenheight = 768; + newdetail = detail; return true; }