summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-08-15 16:52:12 +0200
committereray orçunus <erayorcunus@gmail.com>2019-08-15 16:54:49 +0200
commit8f18f848363ba71ee74f13f88ac5a6c5da78b3ba (patch)
tree35bac433fe9a98acdaae40c62cb8753ce422aa54 /src/peds
parentAnimViewer! (diff)
parentMerge pull request #190 from Fire-Head/master (diff)
downloadre3-8f18f848363ba71ee74f13f88ac5a6c5da78b3ba.tar
re3-8f18f848363ba71ee74f13f88ac5a6c5da78b3ba.tar.gz
re3-8f18f848363ba71ee74f13f88ac5a6c5da78b3ba.tar.bz2
re3-8f18f848363ba71ee74f13f88ac5a6c5da78b3ba.tar.lz
re3-8f18f848363ba71ee74f13f88ac5a6c5da78b3ba.tar.xz
re3-8f18f848363ba71ee74f13f88ac5a6c5da78b3ba.tar.zst
re3-8f18f848363ba71ee74f13f88ac5a6c5da78b3ba.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 2a62288d..d0ceedff 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -471,7 +471,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
if ((CGeneral::GetRandomNumber() & 3) == 0)
m_ped_flagD1 = true;
- m_audioEntityId = DMAudio.CreateEntity(0, this);
+ m_audioEntityId = DMAudio.CreateEntity(AUDIOTYPE_PHYSICAL, this);
DMAudio.SetEntityStatus(m_audioEntityId, 1);
m_fearFlags = CPedType::GetThreats(m_nPedType);
m_threatEntity = nil;