diff options
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/Ped.cpp | 6 | ||||
-rw-r--r-- | src/peds/Ped.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index dc143098..fc57719d 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -287,7 +287,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this) bHeadStuckInCollision = false; bDeadPedInFrontOfCar = false; - m_gangFlags = 0xFF; + m_gangFlags = ~0; bStayInCarOnJack = false; @@ -307,6 +307,10 @@ CPed::CPed(uint32 pedType) : m_pedIK(this) bDonePositionOutOfCollision = false; bCanAttackPlayerWithCops = false; + bDropsWeaponsOnDeath = false; + b1A4_2 = true; + bAttacksPlayerWithCops = false; + if (CGeneral::GetRandomNumber() & 3) bHasACamera = false; else diff --git a/src/peds/Ped.h b/src/peds/Ped.h index bed1e2e1..63feeef5 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -587,7 +587,7 @@ public: uint16 m_gangFlags; // <- this one is uint16 uint8 bDropsWeaponsOnDeath : 1; - uint8 b1A4_2 : 1; + uint8 b1A4_2 : 1; // something to do with car hostages uint8 bAttacksPlayerWithCops : 1; uint8 b1A4_8 : 1; uint8 b1A4_10 : 1; |