mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2025-01-11 07:34:09 +00:00
fixed attached ped
This commit is contained in:
parent
16a5c2f676
commit
d48749f797
|
@ -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