diff options
author | erorcun <erayorcunus@gmail.com> | 2020-12-09 01:15:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 01:15:20 +0100 |
commit | 6b654094a5299d55a3621a3a23b6dafbb48b78e9 (patch) | |
tree | e9735ff0ce34dbfca24bf6c4fc609cbacaac81f1 /src/control/CarAI.cpp | |
parent | fix CObject::DeleteAllTempObjectsInArea (diff) | |
parent | don't cast script param to uint8 (diff) | |
download | re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar.gz re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar.bz2 re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar.lz re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar.xz re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar.zst re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.zip |
Diffstat (limited to 'src/control/CarAI.cpp')
-rw-r--r-- | src/control/CarAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/CarAI.cpp b/src/control/CarAI.cpp index ab44510d..8c0c5966 100644 --- a/src/control/CarAI.cpp +++ b/src/control/CarAI.cpp @@ -539,7 +539,7 @@ void CCarAI::TellCarToBlockOtherCar(CVehicle* pVehicle, CVehicle* pTarget) pVehicle->AutoPilot.m_nCruiseSpeed = Max(6, pVehicle->AutoPilot.m_nCruiseSpeed); } -eCarMission CCarAI::FindPoliceCarMissionForWantedLevel() +uint8 CCarAI::FindPoliceCarMissionForWantedLevel() { switch (CWorld::Players[CWorld::PlayerInFocus].m_pPed->m_pWanted->m_nWantedLevel){ case 0: |