From 7bf833785411955c2bcf35ed55e9d206facbc575 Mon Sep 17 00:00:00 2001 From: aap Date: Sun, 24 May 2020 15:14:27 +0200 Subject: CVehicle --- 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 776aa1dd..155e6cea 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -447,7 +447,7 @@ public: uint32 bIsDrowning : 1; uint32 bDrownsInWater : 1; //uint32 b156_4 - //uint32 b156_8 + uint32 b156_8 : 1; uint32 bIsPlayerFriend : 1; #ifdef VC_PED_PORTS uint32 bHeadStuckInCollision : 1; @@ -864,6 +864,7 @@ public: static void PedSetDraggedOutCarPositionCB(CAnimBlendAssociation *assoc, void *arg); bool IsPlayer(void); + bool IsFemale(void) { return m_nPedType == PEDTYPE_CIVFEMALE || m_nPedType == PEDTYPE_PROSTITUTE; } bool UseGroundColModel(void); bool CanSetPedState(void); bool IsPedInControl(void); -- cgit v1.2.3