summaryrefslogtreecommitdiff
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-07-12 00:11:11 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2021-07-12 00:12:25 +0300
commit2a6f9c27578c69742be7209d749780700453c8a1 (patch)
treea4c9b38a4a9752f4ef315c3009f887e947e9b334 /src/core/Game.cpp
parent11434f96cc26bc937adeb6db8ce17ed748d7220e (diff)
Add ped and car density slider to menu, remove dumb collision "optimization"
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r--src/core/Game.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index f6156a4c..b3dd1eda 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -409,7 +409,11 @@ bool CGame::Initialise(const char* datFile)
#endif
#ifndef GTA_PS2
- CIniFile::LoadIniFile();
+#ifdef PED_CAR_DENSITY_SLIDERS
+ // Load density values from gta3.ini only if our re3.ini have them 1.f
+ if (CIniFile::PedNumberMultiplier == 1.f && CIniFile::CarNumberMultiplier == 1.f)
+#endif
+ CIniFile::LoadIniFile();
#endif
currLevel = LEVEL_INDUSTRIAL;