diff options
author | erorcun <erayorcunus@gmail.com> | 2020-03-26 16:55:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-26 16:55:12 +0100 |
commit | 29ef6e29f3f0dba3ffbdfd975015bee4001f2774 (patch) | |
tree | 0f4f6bfafc9e3138bf090efb16b18e6fa22c2eab /src/peds/Population.cpp | |
parent | Merge pull request #353 from Sergeanur/Debug (diff) | |
parent | CCopPed 2 and fixes (diff) | |
download | re3-29ef6e29f3f0dba3ffbdfd975015bee4001f2774.tar re3-29ef6e29f3f0dba3ffbdfd975015bee4001f2774.tar.gz re3-29ef6e29f3f0dba3ffbdfd975015bee4001f2774.tar.bz2 re3-29ef6e29f3f0dba3ffbdfd975015bee4001f2774.tar.lz re3-29ef6e29f3f0dba3ffbdfd975015bee4001f2774.tar.xz re3-29ef6e29f3f0dba3ffbdfd975015bee4001f2774.tar.zst re3-29ef6e29f3f0dba3ffbdfd975015bee4001f2774.zip |
Diffstat (limited to 'src/peds/Population.cpp')
-rw-r--r-- | src/peds/Population.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Population.cpp b/src/peds/Population.cpp index d87764ff..6b674dd3 100644 --- a/src/peds/Population.cpp +++ b/src/peds/Population.cpp @@ -576,7 +576,7 @@ CPopulation::AddToPopulation(float minDist, float maxDist, float minDistOffScree } // Yeah, float float maxPossiblePedsForArea = (zoneInfo.pedDensity + zoneInfo.carDensity) * playerInfo->m_fRoadDensity * PedDensityMultiplier * CIniFile::PedNumberMultiplier; - // maxPossiblePedsForArea = min(maxPossiblePedsForArea, MaxNumberOfPedsInUse); + maxPossiblePedsForArea = min(maxPossiblePedsForArea, MaxNumberOfPedsInUse); if (ms_nTotalPeds < maxPossiblePedsForArea || addCop) { int decisionThreshold = CGeneral::GetRandomNumberInRange(0, 1000); |