From 3a4442eca437863a79cebe70f4bd6ba73cc3a64d Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Fri, 10 Apr 2020 16:14:05 +0300 Subject: [PATCH] disabling the code that freezes gang members --- src/peds/Population.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/peds/Population.cpp b/src/peds/Population.cpp index 3bf81066..dbfd40c6 100644 --- a/src/peds/Population.cpp +++ b/src/peds/Population.cpp @@ -704,12 +704,15 @@ CPopulation::AddToPopulation(float minDist, float maxDist, float minDistOffScree if (i != 0) { // Gang member newPed->SetLeader(gangLeader); +#ifndef FIX_BUGS + // seems to be a miami leftover (this code is not on PS2) but gang peds end up just being frozen newPed->m_nPedState = PED_UNKNOWN; gangLeader->m_nPedState = PED_UNKNOWN; newPed->m_fRotationCur = CGeneral::GetRadianAngleBetweenPoints( gangLeader->GetPosition().x, gangLeader->GetPosition().y, newPed->GetPosition().x, newPed->GetPosition().y); newPed->m_fRotationDest = newPed->m_fRotationCur; +#endif } else { gangLeader = newPed; }