summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-16 04:06:51 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-16 04:06:51 +0200
commitec1b91e5270b1c91885a5e8000a5ff8286aee140 (patch)
tree1ff508fda73ba0a3bc5514ab803fc3cd9e25f4b7 /src/audio/AudioManager.cpp
parentfixed hanging boot (diff)
downloadre3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar.gz
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar.bz2
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar.lz
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar.xz
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar.zst
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index b76c2cc3..8ef439d9 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -630,10 +630,10 @@ cAudioManager::CreateEntity(int32 type, void *entity)
m_asAudioEntities[i].m_nStatus = 0;
m_asAudioEntities[i].m_nType = (eAudioType)type;
m_asAudioEntities[i].m_pEntity = entity;
- m_asAudioEntities[i].m_awAudioEvent[0] = SOUND_TOTAL_PED_SOUNDS;
- m_asAudioEntities[i].m_awAudioEvent[1] = SOUND_TOTAL_PED_SOUNDS;
- m_asAudioEntities[i].m_awAudioEvent[2] = SOUND_TOTAL_PED_SOUNDS;
- m_asAudioEntities[i].m_awAudioEvent[3] = SOUND_TOTAL_PED_SOUNDS;
+ m_asAudioEntities[i].m_awAudioEvent[0] = SOUND_NO_SOUND;
+ m_asAudioEntities[i].m_awAudioEvent[1] = SOUND_NO_SOUND;
+ m_asAudioEntities[i].m_awAudioEvent[2] = SOUND_NO_SOUND;
+ m_asAudioEntities[i].m_awAudioEvent[3] = SOUND_NO_SOUND;
m_asAudioEntities[i].m_AudioEvents = 0;
m_anAudioEntityIndices[m_nAudioEntitiesTotal++] = i;
return i;