CPopulation 1

This commit is contained in:
eray orçunus
2020-02-16 05:15:58 +03:00
parent 04eac2a06c
commit ff92b822b6
14 changed files with 442 additions and 112 deletions

View File

@@ -353,7 +353,7 @@ CPed::~CPed(void)
}
if (m_pFire)
m_pFire->Extinguish();
CPopulation::UpdatePedCount(m_nPedType, true);
CPopulation::UpdatePedCount((ePedType)m_nPedType, true);
DMAudio.DestroyEntity(m_audioEntityId);
}
@@ -594,7 +594,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
m_collPoly.valid = false;
m_fCollisionSpeed = 0.0f;
m_wepModelID = -1;
CPopulation::UpdatePedCount(m_nPedType, false);
CPopulation::UpdatePedCount((ePedType)m_nPedType, false);
}
uint32