diff options
author | erorcun <erayorcunus@gmail.com> | 2020-07-09 23:06:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-09 23:06:16 +0200 |
commit | 30723cf723a6b866c158b9f721f5a3dd01a5d95c (patch) | |
tree | 4f4cfd03c6eabfe9ef860c762570760fdedb5f90 /src/control/CarCtrl.cpp | |
parent | Merge pull request #653 from Domiiniik/miami (diff) | |
parent | VC fighting, Peds, many fixes including ghost bikes (diff) | |
download | re3-30723cf723a6b866c158b9f721f5a3dd01a5d95c.tar re3-30723cf723a6b866c158b9f721f5a3dd01a5d95c.tar.gz re3-30723cf723a6b866c158b9f721f5a3dd01a5d95c.tar.bz2 re3-30723cf723a6b866c158b9f721f5a3dd01a5d95c.tar.lz re3-30723cf723a6b866c158b9f721f5a3dd01a5d95c.tar.xz re3-30723cf723a6b866c158b9f721f5a3dd01a5d95c.tar.zst re3-30723cf723a6b866c158b9f721f5a3dd01a5d95c.zip |
Diffstat (limited to 'src/control/CarCtrl.cpp')
-rw-r--r-- | src/control/CarCtrl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index 514150a6..cd08753d 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -366,7 +366,7 @@ CCarCtrl::GenerateOneRandomCar() pVehicle->AutoPilot.m_nDrivingStyle = DRIVINGSTYLE_STOP_FOR_CARS; pVehicle->AutoPilot.m_nCarMission = MISSION_CRUISE; } - if (carModel == MI_FBICAR){ + if (carModel == MI_FBIRANCH){ pVehicle->m_currentColour1 = 0; pVehicle->m_currentColour2 = 0; } @@ -874,9 +874,9 @@ CCarCtrl::ChoosePoliceCarModel(void) CStreaming::HasModelLoaded(MI_POLICE)) return ((CGeneral::GetRandomNumber() & 0xF) == 0) ? MI_ENFORCER : MI_POLICE; if (FindPlayerPed()->m_pWanted->AreFbiRequired() && - CStreaming::HasModelLoaded(MI_FBICAR) && + CStreaming::HasModelLoaded(MI_FBIRANCH) && CStreaming::HasModelLoaded(MI_FBI)) - return MI_FBICAR; + return MI_FBIRANCH; if (FindPlayerPed()->m_pWanted->AreArmyRequired() && CStreaming::HasModelLoaded(MI_RHINO) && CStreaming::HasModelLoaded(MI_BARRACKS) && |