diff options
author | aap <aap@papnet.eu> | 2020-05-09 12:45:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-09 12:45:25 +0200 |
commit | 40cfd0576fcbc05ee63262d5c41a3151b09a806b (patch) | |
tree | 93f989fb6dfc2b0244d8a38c94c8c5d15e5e9f25 /src/vehicles | |
parent | Merge branch 'master' into miami (diff) | |
parent | fix (diff) | |
download | re3-40cfd0576fcbc05ee63262d5c41a3151b09a806b.tar re3-40cfd0576fcbc05ee63262d5c41a3151b09a806b.tar.gz re3-40cfd0576fcbc05ee63262d5c41a3151b09a806b.tar.bz2 re3-40cfd0576fcbc05ee63262d5c41a3151b09a806b.tar.lz re3-40cfd0576fcbc05ee63262d5c41a3151b09a806b.tar.xz re3-40cfd0576fcbc05ee63262d5c41a3151b09a806b.tar.zst re3-40cfd0576fcbc05ee63262d5c41a3151b09a806b.zip |
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 1 | ||||
-rw-r--r-- | src/vehicles/Vehicle.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index 5fdbde06..1cf41435 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -99,6 +99,7 @@ CVehicle::CVehicle(uint8 CreatedBy) m_bSirenOrAlarm = 0; m_nCarHornTimer = 0; m_nCarHornPattern = 0; + bCreatedAsPoliceVehicle = false; bParking = false; m_nAlarmState = 0; m_nDoorLock = CARLOCK_UNLOCKED; diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h index 66dfebb1..7711e445 100644 --- a/src/vehicles/Vehicle.h +++ b/src/vehicles/Vehicle.h @@ -182,6 +182,7 @@ public: uint8 bIsCarParkVehicle : 1; // Car has been created using the special CAR_PARK script command uint8 bHasAlreadyBeenRecorded : 1; // Used for replays + uint8 bCreatedAsPoliceVehicle : 1;// True if this guy was created as a police vehicle (enforcer, policecar, miamivice car etc) uint8 bParking : 1; int8 m_numPedsUseItAsCover; |