From 4a8a1af8858edeef949d8f2ecbd25d3c93ccd042 Mon Sep 17 00:00:00 2001 From: withmorten Date: Mon, 11 Jan 2021 18:42:54 +0100 Subject: fix CPed struct, GetWantedLevel --- src/peds/Ped.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/peds/Ped.h') diff --git a/src/peds/Ped.h b/src/peds/Ped.h index 6c0d9987..7798483f 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -492,10 +492,15 @@ public: uint32 bDonePositionOutOfCollision : 1; uint32 bCanAttackPlayerWithCops : 1; +#ifdef KANGAROO_CHEAT // our own flags uint32 m_ped_flagI80 : 1; // KANGAROO_CHEAT define makes use of this as cheat toggle +#endif uint8 m_gangFlags; + uint8 m_unused15D; // these 3 can't be padding but had to actually have been members ... + uint8 m_unused15E; + uint8 m_unused15F; uint8 CharCreatedBy; eObjective m_objective; eObjective m_prevObjective; @@ -536,7 +541,7 @@ public: uint32 m_pathNodeTimer; CPathNode m_pathNodeObjPool[8]; CPathNode* m_pCurPathNode; - char m_nPathDir; + int8 m_nPathDir; CPathNode* m_pLastPathNode; CPathNode* m_pNextPathNode; CVector m_followPathDestPos; -- cgit v1.2.3