summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-25 07:59:32 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-25 08:03:13 +0100
commit6a2edcea4647e9a7f6e84c4270614ccf58794fcb (patch)
treef3bc8d6adfe517830eb5d7f9975628e29f8b389a /src/peds
parentFix chainsaw sounds lol (diff)
downloadre3-6a2edcea4647e9a7f6e84c4270614ccf58794fcb.tar
re3-6a2edcea4647e9a7f6e84c4270614ccf58794fcb.tar.gz
re3-6a2edcea4647e9a7f6e84c4270614ccf58794fcb.tar.bz2
re3-6a2edcea4647e9a7f6e84c4270614ccf58794fcb.tar.lz
re3-6a2edcea4647e9a7f6e84c4270614ccf58794fcb.tar.xz
re3-6a2edcea4647e9a7f6e84c4270614ccf58794fcb.tar.zst
re3-6a2edcea4647e9a7f6e84c4270614ccf58794fcb.zip
Diffstat (limited to 'src/peds')
-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 d66d71bb..020b2eac 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -319,7 +319,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
bCanGiveUpSunbathing = true;
m_audioEntityId = DMAudio.CreateEntity(AUDIOTYPE_PHYSICAL, this);
- DMAudio.SetEntityStatus(m_audioEntityId, 1);
+ DMAudio.SetEntityStatus(m_audioEntityId, true);
m_fearFlags = CPedType::GetThreats(m_nPedType);
m_threatEntity = nil;
m_eventOrThreat = CVector2D(0.0f, 0.0f);