summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-08-17 21:17:28 +0200
committerGitHub <noreply@github.com>2019-08-17 21:17:28 +0200
commitde1627eb4c2fb427655a5e688349928255b6aae3 (patch)
tree82f5205ffe573d41060ec29646e821841f651837 /src/vehicles
parentMerge pull request #193 from erorcun/erorcun (diff)
parentmerge (diff)
downloadre3-de1627eb4c2fb427655a5e688349928255b6aae3.tar
re3-de1627eb4c2fb427655a5e688349928255b6aae3.tar.gz
re3-de1627eb4c2fb427655a5e688349928255b6aae3.tar.bz2
re3-de1627eb4c2fb427655a5e688349928255b6aae3.tar.lz
re3-de1627eb4c2fb427655a5e688349928255b6aae3.tar.xz
re3-de1627eb4c2fb427655a5e688349928255b6aae3.tar.zst
re3-de1627eb4c2fb427655a5e688349928255b6aae3.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Vehicle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index 357e5603..accc6936 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -269,6 +269,8 @@ public:
bool ShufflePassengersToMakeSpace(void);
bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; }
+
+ CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); }
static bool &bWheelsOnlyCheat;
static bool &bAllDodosCheat;