summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-02-16 03:15:58 +0100
committereray orçunus <erayorcunus@gmail.com>2020-02-17 13:57:50 +0100
commitff92b822b673e77c9fa9af6ecbab5745a6ff01d8 (patch)
tree757d2859d10e97cd59474decd744405ba7af37fd /src/peds/Ped.cpp
parentMerge pull request #326 from erorcun/erorcun (diff)
downloadre3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.gz
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.bz2
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.lz
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.xz
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.zst
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp4
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