diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-07-11 23:11:11 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-07-11 23:12:25 +0200 |
commit | 2a6f9c27578c69742be7209d749780700453c8a1 (patch) | |
tree | a4c9b38a4a9752f4ef315c3009f887e947e9b334 /src/core/Game.cpp | |
parent | Add PED DENSITY and CAR DENSITY lines to GXT (diff) | |
download | re3-2a6f9c27578c69742be7209d749780700453c8a1.tar re3-2a6f9c27578c69742be7209d749780700453c8a1.tar.gz re3-2a6f9c27578c69742be7209d749780700453c8a1.tar.bz2 re3-2a6f9c27578c69742be7209d749780700453c8a1.tar.lz re3-2a6f9c27578c69742be7209d749780700453c8a1.tar.xz re3-2a6f9c27578c69742be7209d749780700453c8a1.tar.zst re3-2a6f9c27578c69742be7209d749780700453c8a1.zip |
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r-- | src/core/Game.cpp | 6 |
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; |