diff options
author | aap <aap@papnet.eu> | 2020-05-24 10:44:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-24 10:44:28 +0200 |
commit | 34f5e923efe620aa25192ce1fb31695b082ce5b4 (patch) | |
tree | df812c11da162c563c3484e0dfe1851dd1a61e82 /src/control/CarAI.cpp | |
parent | Merge branch 'master' into miami (diff) | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-34f5e923efe620aa25192ce1fb31695b082ce5b4.tar re3-34f5e923efe620aa25192ce1fb31695b082ce5b4.tar.gz re3-34f5e923efe620aa25192ce1fb31695b082ce5b4.tar.bz2 re3-34f5e923efe620aa25192ce1fb31695b082ce5b4.tar.lz re3-34f5e923efe620aa25192ce1fb31695b082ce5b4.tar.xz re3-34f5e923efe620aa25192ce1fb31695b082ce5b4.tar.zst re3-34f5e923efe620aa25192ce1fb31695b082ce5b4.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()){ |