diff options
author | withmorten <morten.with@gmail.com> | 2020-12-07 01:59:17 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2020-12-07 01:59:17 +0100 |
commit | 4c0744260d2a7c1d9e015359edc58affb975fa03 (patch) | |
tree | 2d32e1f4658266e39c65937c1197c7277f51a487 /src/core/World.cpp | |
parent | 912e71be537aec6a8b2681c8f0208107a379e216 (diff) |
uint8 enums fixed
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r-- | src/core/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp index bc104fe9..1d96163c 100644 --- a/src/core/World.cpp +++ b/src/core/World.cpp @@ -1580,7 +1580,7 @@ CWorld::CallOffChaseForAreaSectorListVehicles(CPtrList &list, float x1, float y1 if(pVehicle->m_scanCode != GetCurrentScanCode()) { pVehicle->m_scanCode = GetCurrentScanCode(); const CVector &vehiclePos = pVehicle->GetPosition(); - eCarMission carMission = pVehicle->AutoPilot.m_nCarMission; + uint8 carMission = pVehicle->AutoPilot.m_nCarMission; if(pVehicle != FindPlayerVehicle() && vehiclePos.x > fStartX && vehiclePos.x < fEndX && vehiclePos.y > fStartY && vehiclePos.y < fEndY && pVehicle->bIsLawEnforcer && (carMission == MISSION_RAMPLAYER_FARAWAY || carMission == MISSION_RAMPLAYER_CLOSE || |