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/IniFile.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/IniFile.cpp')
-rw-r--r-- | src/core/IniFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/IniFile.cpp b/src/core/IniFile.cpp index df01b440..524632fe 100644 --- a/src/core/IniFile.cpp +++ b/src/core/IniFile.cpp @@ -23,6 +23,6 @@ void CIniFile::LoadIniFile() CarNumberMultiplier = Min(3.0f, Max(0.5f, CarNumberMultiplier)); CFileMgr::CloseFile(f); } - CPopulation::MaxNumberOfPedsInUse = 25.0f * PedNumberMultiplier; - CCarCtrl::MaxNumberOfCarsInUse = 12.0f * CarNumberMultiplier; + CPopulation::MaxNumberOfPedsInUse = DEFAULT_MAX_NUMBER_OF_PEDS * PedNumberMultiplier; + CCarCtrl::MaxNumberOfCarsInUse = DEFAULT_MAX_NUMBER_OF_CARS * CarNumberMultiplier; }
\ No newline at end of file |