summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-12 16:03:32 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-12 16:03:32 +0200
commit35add59b3402ed7e6acf723cd592917da4139917 (patch)
treeabe70afb50af647263ece9945599d7684bd7ee93 /src/vehicles
parentMerge pull request #232 from Nick007J/master (diff)
downloadre3-35add59b3402ed7e6acf723cd592917da4139917.tar
re3-35add59b3402ed7e6acf723cd592917da4139917.tar.gz
re3-35add59b3402ed7e6acf723cd592917da4139917.tar.bz2
re3-35add59b3402ed7e6acf723cd592917da4139917.tar.lz
re3-35add59b3402ed7e6acf723cd592917da4139917.tar.xz
re3-35add59b3402ed7e6acf723cd592917da4139917.tar.zst
re3-35add59b3402ed7e6acf723cd592917da4139917.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Vehicle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index db0485a9..ffc2ca45 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -266,7 +266,7 @@ public:
bool ShufflePassengersToMakeSpace(void);
bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; }
- bool IsWrecked(void) { return !this || m_status == STATUS_WRECKED; }
+ bool IsWrecked(void) { return m_status == STATUS_WRECKED; }
CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); }
static bool &bWheelsOnlyCheat;