summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-08-17 14:44:25 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-08-17 14:44:25 +0200
commitc16849d4a256a757c535a58a9fab118f03013d61 (patch)
treeb152ddeb5bc86abaa54fe13d18359a71d7ce0a8e /src/vehicles
parentpathetic errors (diff)
downloadre3-c16849d4a256a757c535a58a9fab118f03013d61.tar
re3-c16849d4a256a757c535a58a9fab118f03013d61.tar.gz
re3-c16849d4a256a757c535a58a9fab118f03013d61.tar.bz2
re3-c16849d4a256a757c535a58a9fab118f03013d61.tar.lz
re3-c16849d4a256a757c535a58a9fab118f03013d61.tar.xz
re3-c16849d4a256a757c535a58a9fab118f03013d61.tar.zst
re3-c16849d4a256a757c535a58a9fab118f03013d61.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;