summaryrefslogtreecommitdiffstats
path: root/src/core/IniFile.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/IniFile.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/IniFile.cpp')
-rw-r--r--src/core/IniFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/IniFile.cpp b/src/core/IniFile.cpp
index 3dd98865..8e0929ae 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 = 30.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