summaryrefslogtreecommitdiffstats
path: root/src/core/IniFile.cpp
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-10-03 00:52:37 +0200
committerRoman Masanin <36927roma@gmail.com>2020-10-03 00:52:37 +0200
commit55d94c99b8ef758b7a1016734dbfc6acba5c7e7d (patch)
treeb838285cbdeae5e390a0bdf3dbd552ce3c1c7130 /src/core/IniFile.cpp
parentfix ternary operator (diff)
parentMerge pull request #737 from theR4K/miamiDev (diff)
downloadre3-55d94c99b8ef758b7a1016734dbfc6acba5c7e7d.tar
re3-55d94c99b8ef758b7a1016734dbfc6acba5c7e7d.tar.gz
re3-55d94c99b8ef758b7a1016734dbfc6acba5c7e7d.tar.bz2
re3-55d94c99b8ef758b7a1016734dbfc6acba5c7e7d.tar.lz
re3-55d94c99b8ef758b7a1016734dbfc6acba5c7e7d.tar.xz
re3-55d94c99b8ef758b7a1016734dbfc6acba5c7e7d.tar.zst
re3-55d94c99b8ef758b7a1016734dbfc6acba5c7e7d.zip
Diffstat (limited to 'src/core/IniFile.cpp')
-rw-r--r--src/core/IniFile.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/IniFile.cpp b/src/core/IniFile.cpp
index df01b440..f7e2bfdd 100644
--- a/src/core/IniFile.cpp
+++ b/src/core/IniFile.cpp
@@ -7,8 +7,10 @@
#include "main.h"
#include "Population.h"
-float CIniFile::PedNumberMultiplier = 1.0f;
-float CIniFile::CarNumberMultiplier = 1.0f;
+// --MIAMI: file done
+
+float CIniFile::PedNumberMultiplier = 0.6f;
+float CIniFile::CarNumberMultiplier = 0.6f;
void CIniFile::LoadIniFile()
{
@@ -24,5 +26,6 @@ void CIniFile::LoadIniFile()
CFileMgr::CloseFile(f);
}
CPopulation::MaxNumberOfPedsInUse = 25.0f * PedNumberMultiplier;
+ CPopulation::MaxNumberOfPedsInUseInterior = 40.0f * PedNumberMultiplier;
CCarCtrl::MaxNumberOfCarsInUse = 12.0f * CarNumberMultiplier;
} \ No newline at end of file