Merge branch 'miami' of github.com:GTAmodding/re3 into miami
This commit is contained in:
@@ -402,6 +402,10 @@ CPed::~CPed(void)
|
||||
}
|
||||
if (m_pFire)
|
||||
m_pFire->Extinguish();
|
||||
if (bCarPassenger)
|
||||
CPopulation::ms_nTotalCarPassengerPeds--;
|
||||
if (bMiamiViceCop)
|
||||
CPopulation::NumMiamiViceCops--;
|
||||
CPopulation::UpdatePedCount((ePedType)m_nPedType, true);
|
||||
DMAudio.DestroyEntity(m_audioEntityId);
|
||||
}
|
||||
@@ -605,6 +609,10 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
|
||||
bSomeVCflag1 = false;
|
||||
#endif
|
||||
|
||||
bCarPassenger = false;
|
||||
bMiamiViceCop = false;
|
||||
bDeadPedInFrontOfCar = false;
|
||||
|
||||
if ((CGeneral::GetRandomNumber() & 3) == 0)
|
||||
bHasACamera = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user