diff options
author | erorcun <erayorcunus@gmail.com> | 2020-02-17 21:02:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-17 21:02:58 +0100 |
commit | 16ea0527dda06b8f844a23b29d3e9615cf9d85da (patch) | |
tree | 504304d257e44fd379c01600d35841573ed368b4 /src/peds/Ped.cpp | |
parent | Merge pull request #327 from Nick007J/master (diff) | |
parent | CPopulation 1 (diff) | |
download | re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar.gz re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar.bz2 re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar.lz re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar.xz re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar.zst re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r-- | src/peds/Ped.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 44aaae5b..1ea13cc2 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -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 |