diff options
author | aap <aap@papnet.eu> | 2019-09-14 08:41:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-14 08:41:09 +0200 |
commit | 06be2f772a5b11b54c58b8c35e515ab77caf8129 (patch) | |
tree | cacd806edb9ca44bda3a057a934b629cc7be1bc3 /src/vehicles | |
parent | fixed launch in space bug (diff) | |
parent | P.e.d.s. (diff) | |
download | re3-06be2f772a5b11b54c58b8c35e515ab77caf8129.tar re3-06be2f772a5b11b54c58b8c35e515ab77caf8129.tar.gz re3-06be2f772a5b11b54c58b8c35e515ab77caf8129.tar.bz2 re3-06be2f772a5b11b54c58b8c35e515ab77caf8129.tar.lz re3-06be2f772a5b11b54c58b8c35e515ab77caf8129.tar.xz re3-06be2f772a5b11b54c58b8c35e515ab77caf8129.tar.zst re3-06be2f772a5b11b54c58b8c35e515ab77caf8129.zip |
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Vehicle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h index 96f57e06..08f55caa 100644 --- a/src/vehicles/Vehicle.h +++ b/src/vehicles/Vehicle.h @@ -269,7 +269,7 @@ public: bool ShufflePassengersToMakeSpace(void); bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; } - + bool IsWrecked(void) { return !this || m_status == STATUS_WRECKED; } CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); } static bool &bWheelsOnlyCheat; |