diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-02 17:23:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 17:23:06 +0200 |
commit | ae1deb2209a5345d51b13c9534a2ef9877cbe09b (patch) | |
tree | 93589ebfc2b9ef71b71afe9a45369d55127807eb /src/core/IniFile.cpp | |
parent | Fix radio scroll when player controls disabled (diff) | |
parent | Fix R* optimization that prevents peds to spawn (diff) | |
download | re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar.gz re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar.bz2 re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar.lz re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar.xz re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar.zst re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.zip |
Diffstat (limited to 'src/core/IniFile.cpp')
-rw-r--r-- | src/core/IniFile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/IniFile.cpp b/src/core/IniFile.cpp index b9033530..5d343ec9 100644 --- a/src/core/IniFile.cpp +++ b/src/core/IniFile.cpp @@ -23,7 +23,7 @@ void CIniFile::LoadIniFile() CarNumberMultiplier = Min(3.0f, Max(0.5f, CarNumberMultiplier)); CFileMgr::CloseFile(f); } - CPopulation::MaxNumberOfPedsInUse = 25.0f * PedNumberMultiplier; - CPopulation::MaxNumberOfPedsInUseInterior = 40.0f * PedNumberMultiplier; - CCarCtrl::MaxNumberOfCarsInUse = 12.0f * CarNumberMultiplier; + CPopulation::MaxNumberOfPedsInUse = DEFAULT_MAX_NUMBER_OF_PEDS * PedNumberMultiplier; + CPopulation::MaxNumberOfPedsInUseInterior = DEFAULT_MAX_NUMBER_OF_PEDS_INTERIOR * PedNumberMultiplier; + CCarCtrl::MaxNumberOfCarsInUse = DEFAULT_MAX_NUMBER_OF_CARS * CarNumberMultiplier; }
\ No newline at end of file |