diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-08 01:04:37 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-08 01:04:37 +0200 |
commit | d48749f7978bc6edb3cc891123faa3b7374c5db6 (patch) | |
tree | bb67410020a0f8d550d975079670d34858a2826f /src/control | |
parent | fixes (diff) | |
download | re3-d48749f7978bc6edb3cc891123faa3b7374c5db6.tar re3-d48749f7978bc6edb3cc891123faa3b7374c5db6.tar.gz re3-d48749f7978bc6edb3cc891123faa3b7374c5db6.tar.bz2 re3-d48749f7978bc6edb3cc891123faa3b7374c5db6.tar.lz re3-d48749f7978bc6edb3cc891123faa3b7374c5db6.tar.xz re3-d48749f7978bc6edb3cc891123faa3b7374c5db6.tar.zst re3-d48749f7978bc6edb3cc891123faa3b7374c5db6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/CarCtrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index 59f49a41..a6d449da 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -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); } |