summaryrefslogtreecommitdiffstats
path: root/src/peds/Population.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-07-11 23:11:11 +0200
committererorcun <erorcunerorcun@hotmail.com.tr>2021-07-11 23:12:25 +0200
commit2a6f9c27578c69742be7209d749780700453c8a1 (patch)
treea4c9b38a4a9752f4ef315c3009f887e947e9b334 /src/peds/Population.cpp
parentAdd PED DENSITY and CAR DENSITY lines to GXT (diff)
downloadre3-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 '')
-rw-r--r--src/peds/Population.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/peds/Population.cpp b/src/peds/Population.cpp
index ace6d37c..1d2a5798 100644
--- a/src/peds/Population.cpp
+++ b/src/peds/Population.cpp
@@ -55,7 +55,7 @@ bool CPopulation::ms_bGivePedsWeapons;
int32 CPopulation::m_AllRandomPedsThisType = -1;
float CPopulation::PedDensityMultiplier = 1.0f;
uint32 CPopulation::ms_nTotalMissionPeds;
-int32 CPopulation::MaxNumberOfPedsInUse = 25;
+int32 CPopulation::MaxNumberOfPedsInUse = DEFAULT_MAX_NUMBER_OF_PEDS;
uint32 CPopulation::ms_nNumCivMale;
uint32 CPopulation::ms_nNumCivFemale;
uint32 CPopulation::ms_nNumCop;
@@ -1122,12 +1122,6 @@ CPopulation::ManagePopulation(void)
}
float dist = (ped->GetPosition() - playerPos).Magnitude2D();
-#ifdef SQUEEZE_PERFORMANCE
- if (dist > 50.f)
- ped->bUsesCollision = false;
- else
- ped->bUsesCollision = true;
-#endif
bool pedIsFarAway = false;
if (PedCreationDistMultiplier() * (PED_REMOVE_DIST_SPECIAL * TheCamera.GenerationDistMultiplier) < dist