summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-26 11:25:23 +0200
committerGitHub <noreply@github.com>2020-05-26 11:25:23 +0200
commit0b8f045d363dec9e9bf96d98995b339e12e04bd6 (patch)
tree86df5a8337edb1af67275219cef37d235aaebdf7 /src/peds/Ped.h
parentfixed filename (diff)
parentCVehicle (diff)
downloadre3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar
re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar.gz
re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar.bz2
re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar.lz
re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar.xz
re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.tar.zst
re3-0b8f045d363dec9e9bf96d98995b339e12e04bd6.zip
Diffstat (limited to 'src/peds/Ped.h')
-rw-r--r--src/peds/Ped.h3
1 files changed, 2 insertions, 1 deletions
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);