mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 19:15:41 +00:00
fixed attached ped
This commit is contained in:
parent
16a5c2f676
commit
d48749f797
1 changed files with 1 additions and 1 deletions
|
@ -1615,7 +1615,7 @@ void CCarCtrl::WeaveThroughPedsSectorList(CPtrList& lst, CVehicle* pVehicle, CPh
|
|||
continue;
|
||||
if (Abs(pPed->GetPosition().z - pVehicle->GetPosition().z) >= PED_HEIGHT_DIFF_TO_CONSIDER_WEAVING)
|
||||
continue;
|
||||
if (pPed->m_pCurSurface != pVehicle)
|
||||
if (pPed->m_pCurSurface != pVehicle && pPed->m_attachedTo != pVehicle)
|
||||
WeaveForPed(pPed, pVehicle, pAngleToWeaveLeft, pAngleToWeaveRight);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue