From 0e7a471b82129bcdea3f691744ed8db4717c3153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Sat, 6 Jul 2019 01:44:49 +0300 Subject: CPed... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: eray orçunus --- src/entities/Vehicle.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/entities/Vehicle.h') diff --git a/src/entities/Vehicle.h b/src/entities/Vehicle.h index ba3e568e..e9acaa0b 100644 --- a/src/entities/Vehicle.h +++ b/src/entities/Vehicle.h @@ -1,18 +1,12 @@ #pragma once #include "Physical.h" +#include "AutoPilot.h" class CPed; class CFire; struct tHandlingData; -enum { - GETTING_IN_OUT_FL = 1, - GETTING_IN_OUT_RL = 2, - GETTING_IN_OUT_FR = 4, - GETTING_IN_OUT_RR = 8 -}; - enum eCarLock : uint8 { CARLOCK_NOT_USED, CARLOCK_UNLOCKED, @@ -29,7 +23,7 @@ class CVehicle : public CPhysical public: // 0x128 tHandlingData *m_handling; - uint8 stuff1[112]; + CAutoPilot m_autoPilot; uint8 m_currentColour1; uint8 m_currentColour2; uint8 m_anExtras[2]; -- cgit v1.2.3