mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 23:39:00 +00:00
Fix typo in CCarCtrl::WeaveThroughPedsSectorList
This commit is contained in:
parent
fb788a53c3
commit
bd6e109441
1 changed files with 1 additions and 1 deletions
|
@ -1323,7 +1323,7 @@ void CCarCtrl::WeaveThroughPedsSectorList(CPtrList& lst, CVehicle* pVehicle, CPh
|
||||||
continue;
|
continue;
|
||||||
if (pPed->GetPosition().y < y_inf || pPed->GetPosition().y > y_sup)
|
if (pPed->GetPosition().y < y_inf || pPed->GetPosition().y > y_sup)
|
||||||
continue;
|
continue;
|
||||||
if (Abs(pPed->GetPosition().z - pPed->GetPosition().z) >= PED_HEIGHT_DIFF_TO_CONSIDER_WEAVING)
|
if (Abs(pPed->GetPosition().z - pVehicle->GetPosition().z) >= PED_HEIGHT_DIFF_TO_CONSIDER_WEAVING)
|
||||||
continue;
|
continue;
|
||||||
if (pPed->m_pCurSurface != pVehicle)
|
if (pPed->m_pCurSurface != pVehicle)
|
||||||
WeaveForPed(pPed, pVehicle, pAngleToWeaveLeft, pAngleToWeaveRight);
|
WeaveForPed(pPed, pVehicle, pAngleToWeaveLeft, pAngleToWeaveRight);
|
||||||
|
|
Loading…
Reference in a new issue