diff options
author | aap <aap@papnet.eu> | 2021-01-08 01:41:40 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-08 01:41:40 +0100 |
commit | ebdf08a5144fa98fd5a0700c4865d7c6673d947e (patch) | |
tree | a239d268f61711c158583f9bc515f012b4c3fb8e /src/vehicles/Vehicle.h | |
parent | Add support of PS2 audio streams to OpenAL (diff) | |
download | re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.gz re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.bz2 re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.lz re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.xz re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.zst re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.zip |
Diffstat (limited to 'src/vehicles/Vehicle.h')
-rw-r--r-- | src/vehicles/Vehicle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h index 7388bfab..795161bf 100644 --- a/src/vehicles/Vehicle.h +++ b/src/vehicles/Vehicle.h @@ -384,8 +384,8 @@ public: bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1 && GetStatus() != STATUS_WRECKED; } CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); } - bool IsTaxi(void) { return GetModelIndex() == MI_TAXI || GetModelIndex() == MI_CABBIE || GetModelIndex() == MI_ZEBRA || GetModelIndex() == MI_KAUFMAN; } - bool IsLimo(void) { return GetModelIndex() == MI_STRETCH || GetModelIndex() == MI_LOVEFIST; } + bool IsTaxi(void) { return GetModelIndex() == MI_TAXI || GetModelIndex() == MI_CABBIE || GetModelIndex() == MI_BORGNINE; } + bool IsLimo(void) { return GetModelIndex() == MI_STRETCH; } bool IsRealHeli(void) { return !!(pHandling->Flags & HANDLING_IS_HELI); } bool IsRealPlane(void) { return !!(pHandling->Flags & HANDLING_IS_PLANE); } |