diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-09-13 22:04:55 +0300 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-09-14 02:24:53 +0300 |
commit | 88f0ef75e8596c752fe343c786294ffa6a8a7534 (patch) | |
tree | cacd806edb9ca44bda3a057a934b629cc7be1bc3 /src/vehicles/Vehicle.h | |
parent | 404115985560055141eb0be1de496bd9ce1fa690 (diff) |
P.e.d.s.
Diffstat (limited to 'src/vehicles/Vehicle.h')
-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; |