summaryrefslogtreecommitdiffstats
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-08 12:38:21 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-08 12:38:21 +0200
commit9cc12018928b73acccd575970a6e4dbcb5b460ac (patch)
treea9ffaccca16aa71da94212e4810eee8fb15a1d19 /src/core/Game.cpp
parentlcs bridge (diff)
parentMerge pull request #1266 from Nick007J/miami (diff)
downloadre3-9cc12018928b73acccd575970a6e4dbcb5b460ac.tar
re3-9cc12018928b73acccd575970a6e4dbcb5b460ac.tar.gz
re3-9cc12018928b73acccd575970a6e4dbcb5b460ac.tar.bz2
re3-9cc12018928b73acccd575970a6e4dbcb5b460ac.tar.lz
re3-9cc12018928b73acccd575970a6e4dbcb5b460ac.tar.xz
re3-9cc12018928b73acccd575970a6e4dbcb5b460ac.tar.zst
re3-9cc12018928b73acccd575970a6e4dbcb5b460ac.zip
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 93137a49..5e7135c4 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -377,7 +377,11 @@ bool CGame::Initialise(const char* datFile)
CVehicleModelInfo::Load(nil);
#ifndef GTA_PS2
- CIniFile::LoadIniFile();
+#ifdef PED_CAR_DENSITY_SLIDERS
+ // Load density values from gta3.ini only if our reVC.ini have them 0.6f
+ if (CIniFile::PedNumberMultiplier == 0.6f && CIniFile::CarNumberMultiplier == 0.6f)
+#endif
+ CIniFile::LoadIniFile();
#endif
#ifdef USE_TEXTURE_POOL
_TexturePoolsUnknown(false);