diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-08 22:29:43 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-08 22:29:43 +0200 |
commit | 7e753c259680a13c656bdc6c86d99a4891616474 (patch) | |
tree | 7cc9674c62784eba25109dee499bd73056a4e62f /src/vehicles | |
parent | fix (diff) | |
download | re3-7e753c259680a13c656bdc6c86d99a4891616474.tar re3-7e753c259680a13c656bdc6c86d99a4891616474.tar.gz re3-7e753c259680a13c656bdc6c86d99a4891616474.tar.bz2 re3-7e753c259680a13c656bdc6c86d99a4891616474.tar.lz re3-7e753c259680a13c656bdc6c86d99a4891616474.tar.xz re3-7e753c259680a13c656bdc6c86d99a4891616474.tar.zst re3-7e753c259680a13c656bdc6c86d99a4891616474.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; |