summaryrefslogtreecommitdiffstats
path: root/src/core/IniFile.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-07-11 23:11:11 +0200
committererorcun <erorcunerorcun@hotmail.com.tr>2021-08-01 12:56:09 +0200
commit192190769db6faeafb32e951cf4db6e021ac833e (patch)
treedc0a6f4c23ac4afa7f065bc198c29253ad902b04 /src/core/IniFile.cpp
parentFix radio scroll when player controls disabled (diff)
downloadre3-192190769db6faeafb32e951cf4db6e021ac833e.tar
re3-192190769db6faeafb32e951cf4db6e021ac833e.tar.gz
re3-192190769db6faeafb32e951cf4db6e021ac833e.tar.bz2
re3-192190769db6faeafb32e951cf4db6e021ac833e.tar.lz
re3-192190769db6faeafb32e951cf4db6e021ac833e.tar.xz
re3-192190769db6faeafb32e951cf4db6e021ac833e.tar.zst
re3-192190769db6faeafb32e951cf4db6e021ac833e.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 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