From e07b6fdce73884de93dbefd7056b3a04d2f4898c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Sun, 7 Jun 2020 21:44:43 +0300 Subject: Message box, letterbox and ped attaching --- src/peds/Ped.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/peds/Ped.h') diff --git a/src/peds/Ped.h b/src/peds/Ped.h index 673c70b0..681fc033 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -616,7 +616,7 @@ public: CEntity *m_attachedTo; CVector m_vecAttachOffset; uint16 m_attachType; - float m_attachRot; + float m_attachRotStep; uint32 m_attachWepAmmo; uint32 m_threatFlags; uint32 m_threatCheck; @@ -841,6 +841,7 @@ public: void DettachPedFromEntity(); void PedShuffle(); void DriveVehicle(); + void PositionAttachedPed(); // Static methods static CVector GetLocalPositionToOpenCarDoor(CVehicle *veh, uint32 component, float offset); -- cgit v1.2.3