CVehicle done

This commit is contained in:
aap
2021-08-04 13:55:01 +02:00
parent 0338d4c393
commit 621f941ff7
8 changed files with 235 additions and 113 deletions

View File

@ -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

View File

@ -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;