diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-12-25 07:59:32 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-25 07:59:32 +0100 |
commit | de31bdc89fe2b2d191bee7a0c224b35bc0c9612e (patch) | |
tree | 677be52372e636035f37c0d18b27f9892228425c /src/peds/Ped.cpp | |
parent | Merge pull request #886 from erorcun/master (diff) | |
download | re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.gz re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.bz2 re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.lz re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.xz re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.zst re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index b5ab2f21..b8b3e92c 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -243,7 +243,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this) bHasACamera = 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); |