From c16849d4a256a757c535a58a9fab118f03013d61 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sat, 17 Aug 2019 15:44:25 +0300 Subject: more CCarCtrl --- src/vehicles/Vehicle.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vehicles') 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; -- cgit v1.2.3