X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSettings.cpp;h=34cf99fff1ae1ded490e3ee2b8722c2813eeb11e;hb=e8ddf63c8ead49835644a81a2fdfc25d819d0257;hp=8261ed2b0d0247b35cf925c9c31408d6777f689a;hpb=e557f9d3439aa7bcf5a4d951c99a9c20b56cb7bc;p=lugaru.git diff --git a/Source/Settings.cpp b/Source/Settings.cpp index 8261ed2..34cf99f 100644 --- a/Source/Settings.cpp +++ b/Source/Settings.cpp @@ -45,15 +45,15 @@ void DefaultSettings(Game &game) { void SaveSettings(Game &game) { ofstream opstream(ConvertFileName(":Data:config.txt", "w")); opstream << "Screenwidth:\n"; - opstream << kContextWidth; + opstream << game.newscreenwidth; opstream << "\nScreenheight:\n"; - opstream << kContextHeight; + opstream << game.newscreenheight; opstream << "\nMouse sensitivity:\n"; opstream << usermousesensitivity; opstream << "\nBlur(0,1):\n"; opstream << ismotionblur; opstream << "\nOverall Detail(0,1,2) higher=better:\n"; - opstream << detail; + opstream << game.newdetail; opstream << "\nFloating jump:\n"; opstream << floatjump; opstream << "\nMouse jump:\n";