mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 09:10:01 +00:00
disabling the code that freezes gang members
This commit is contained in:
parent
5b579ec52d
commit
3a4442eca4
|
@ -704,12 +704,15 @@ CPopulation::AddToPopulation(float minDist, float maxDist, float minDistOffScree
|
||||||
if (i != 0) {
|
if (i != 0) {
|
||||||
// Gang member
|
// Gang member
|
||||||
newPed->SetLeader(gangLeader);
|
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;
|
newPed->m_nPedState = PED_UNKNOWN;
|
||||||
gangLeader->m_nPedState = PED_UNKNOWN;
|
gangLeader->m_nPedState = PED_UNKNOWN;
|
||||||
newPed->m_fRotationCur = CGeneral::GetRadianAngleBetweenPoints(
|
newPed->m_fRotationCur = CGeneral::GetRadianAngleBetweenPoints(
|
||||||
gangLeader->GetPosition().x, gangLeader->GetPosition().y,
|
gangLeader->GetPosition().x, gangLeader->GetPosition().y,
|
||||||
newPed->GetPosition().x, newPed->GetPosition().y);
|
newPed->GetPosition().x, newPed->GetPosition().y);
|
||||||
newPed->m_fRotationDest = newPed->m_fRotationCur;
|
newPed->m_fRotationDest = newPed->m_fRotationCur;
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
gangLeader = newPed;
|
gangLeader = newPed;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue