diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-17 14:44:25 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-17 14:44:25 +0200 |
commit | c16849d4a256a757c535a58a9fab118f03013d61 (patch) | |
tree | b152ddeb5bc86abaa54fe13d18359a71d7ce0a8e /src/vehicles | |
parent | pathetic errors (diff) | |
download | re3-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.h | 2 |
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; |