diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-08 17:31:48 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-08 17:31:48 +0100 |
commit | 368d2f3279b474056e888dcccea234f32614b506 (patch) | |
tree | 6ab081b692b3a7e9185076049d4f0655565235e8 /src/core/re3.cpp | |
parent | upd (diff) | |
download | re3-368d2f3279b474056e888dcccea234f32614b506.tar re3-368d2f3279b474056e888dcccea234f32614b506.tar.gz re3-368d2f3279b474056e888dcccea234f32614b506.tar.bz2 re3-368d2f3279b474056e888dcccea234f32614b506.tar.lz re3-368d2f3279b474056e888dcccea234f32614b506.tar.xz re3-368d2f3279b474056e888dcccea234f32614b506.tar.zst re3-368d2f3279b474056e888dcccea234f32614b506.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/re3.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 14457db4..87244e2a 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -214,12 +214,6 @@ void LoadINISettings() CustomPipes::LightmapMult = CheckAndReadIniFloat("CustomPipesValues", "LightmapMult", CustomPipes::LightmapMult); CustomPipes::GlossMult = CheckAndReadIniFloat("CustomPipesValues", "GlossMult", CustomPipes::GlossMult); #endif - -#ifdef ASPECT_RATIO_SCALE - CDraw::ms_nScalingMode = CheckAndReadIniInt("Draw", "ScalingMode", CDraw::ms_nScalingMode); - CDraw::ms_bFixRadar = CheckAndReadIniInt("Draw", "FixRadar", CDraw::ms_bFixRadar); - CDraw::ms_bFixSprites = CheckAndReadIniInt("Draw", "FixSpritesAspectRatio", CDraw::ms_bFixSprites); -#endif } void SaveINISettings() @@ -259,12 +253,6 @@ void SaveINISettings() CheckAndSaveIniFloat("CustomPipesValues", "GlossMult", CustomPipes::GlossMult, changed); #endif -#ifdef ASPECT_RATIO_SCALE - CheckAndSaveIniInt("Draw", "ScalingMode", CDraw::ms_nScalingMode, changed); - CheckAndSaveIniInt("Draw", "FixRadar", CDraw::ms_bFixRadar, changed); - CheckAndSaveIniInt("Draw", "FixSpritesAspectRatio", CDraw::ms_bFixSprites, changed); -#endif - if (changed) cfg.write_file("re3.ini"); } |