diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-26 10:10:04 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-26 10:10:04 +0100 |
commit | 57098a77eca98fba609d649c0f6f9715e6e7a79a (patch) | |
tree | 1988c2b6e838a4a5e582aa05aa6c297adb9566d7 /src/core/re3.cpp | |
parent | Fix not being able to hit lying peds with melee weapon (diff) | |
download | re3-57098a77eca98fba609d649c0f6f9715e6e7a79a.tar re3-57098a77eca98fba609d649c0f6f9715e6e7a79a.tar.gz re3-57098a77eca98fba609d649c0f6f9715e6e7a79a.tar.bz2 re3-57098a77eca98fba609d649c0f6f9715e6e7a79a.tar.lz re3-57098a77eca98fba609d649c0f6f9715e6e7a79a.tar.xz re3-57098a77eca98fba609d649c0f6f9715e6e7a79a.tar.zst re3-57098a77eca98fba609d649c0f6f9715e6e7a79a.zip |
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r-- | src/core/re3.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index d51e50ba..bb5e4ab6 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -195,6 +195,7 @@ void LoadINISettings() CustomPipes::LightmapMult = CheckAndReadIniFloat("CustomPipesValues", "LightmapMult", CustomPipes::LightmapMult); CustomPipes::GlossMult = CheckAndReadIniFloat("CustomPipesValues", "GlossMult", CustomPipes::GlossMult); #endif + gBackfaceCulling = CheckAndReadIniInt("Rendering", "BackfaceCulling", gBackfaceCulling); } void SaveINISettings() @@ -233,6 +234,7 @@ void SaveINISettings() CheckAndSaveIniFloat("CustomPipesValues", "LightmapMult", CustomPipes::LightmapMult, changed); CheckAndSaveIniFloat("CustomPipesValues", "GlossMult", CustomPipes::GlossMult, changed); #endif + CheckAndSaveIniInt("Rendering", "BackfaceCulling", gBackfaceCulling, changed); if (changed) cfg.write_file("reVC.ini"); |