summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-12-26 10:10:04 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-12-26 10:10:04 +0100
commit57098a77eca98fba609d649c0f6f9715e6e7a79a (patch)
tree1988c2b6e838a4a5e582aa05aa6c297adb9566d7 /src/core/re3.cpp
parentFix not being able to hit lying peds with melee weapon (diff)
downloadre3-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.cpp2
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");