diff options
author | withmorten <morten.with@gmail.com> | 2020-12-07 00:36:40 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2020-12-07 00:36:40 +0100 |
commit | 4696e3f9c88cdf9e025205b0b525dec8c310b671 (patch) | |
tree | 635faa0dc5ff4ce5798dae7a3509042b73c63e46 /src/core | |
parent | fixed parenthesis (diff) | |
download | re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.gz re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.bz2 re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.lz re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.xz re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.zst re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.zip |
Diffstat (limited to '')
-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 0bc564ff..981d1395 100644 --- a/src/core/World.cpp +++ b/src/core/World.cpp @@ -1537,7 +1537,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 || |