diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-06 13:31:09 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-06 13:31:09 +0300 |
commit | 3f26250d73d5c196a66262821a7980ccdbd8deed (patch) | |
tree | 6dde51e7159bee42448d95fca35edc8e0be92561 /src/vehicles/Vehicle.cpp | |
parent | 408f47fc9d85e930f2dc1a4cc9f50b3c0d4c60b8 (diff) |
fixing some uninitialized stuff
Diffstat (limited to 'src/vehicles/Vehicle.cpp')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index dbb15b5d..addbfc3d 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -59,6 +59,9 @@ CVehicle::CVehicle(uint8 CreatedBy) bIsLawEnforcer = false; bIsAmbulanceOnDuty = false; bIsFireTruckOnDuty = false; +#ifdef FIX_BUGS + bIsHandbrakeOn = false; +#endif CCarCtrl::UpdateCarCount(this, false); m_fHealth = 1000.0f; bEngineOn = true; |