diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-23 19:06:52 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-23 19:06:52 +0200 |
commit | 607175f02a3f89665c953d09c603183f909cc15b (patch) | |
tree | 92ccd56fd97daad6a97d8a348b2d6fc564370059 /src/control/CarAI.cpp | |
parent | fixed script (diff) | |
download | re3-607175f02a3f89665c953d09c603183f909cc15b.tar re3-607175f02a3f89665c953d09c603183f909cc15b.tar.gz re3-607175f02a3f89665c953d09c603183f909cc15b.tar.bz2 re3-607175f02a3f89665c953d09c603183f909cc15b.tar.lz re3-607175f02a3f89665c953d09c603183f909cc15b.tar.xz re3-607175f02a3f89665c953d09c603183f909cc15b.tar.zst re3-607175f02a3f89665c953d09c603183f909cc15b.zip |
Diffstat (limited to 'src/control/CarAI.cpp')
-rw-r--r-- | src/control/CarAI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/CarAI.cpp b/src/control/CarAI.cpp index a4406da9..589cc53b 100644 --- a/src/control/CarAI.cpp +++ b/src/control/CarAI.cpp @@ -350,6 +350,7 @@ void CCarAI::UpdateCarAI(CVehicle* pVehicle) if (!FindPlayerVehicle() || DotProduct2D(CVector2D(diff.x / distance, diff.y / distance), FindPlayerSpeed()) > 0.05f) pVehicle->AutoPilot.m_nCarMission = MISSION_BLOCKPLAYER_CLOSE; BackToCruisingIfNoWantedLevel(pVehicle); + break; } default: if (pVehicle->bIsLawEnforcer && FindPlayerPed()->m_pWanted->m_nWantedLevel > 0 && !CCullZones::NoPolice()){ |