summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-16 04:07:39 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-16 04:07:39 +0200
commit76dd769085ae822243b4c34aa867408ae69e5893 (patch)
tree525c9b05b9b320e210cbb447abe33d3c33e69dbc /src/audio/AudioManager.cpp
parentMerge pull request #550 from erorcun/miami (diff)
parentRemove unused audio enum (diff)
downloadre3-76dd769085ae822243b4c34aa867408ae69e5893.tar
re3-76dd769085ae822243b4c34aa867408ae69e5893.tar.gz
re3-76dd769085ae822243b4c34aa867408ae69e5893.tar.bz2
re3-76dd769085ae822243b4c34aa867408ae69e5893.tar.lz
re3-76dd769085ae822243b4c34aa867408ae69e5893.tar.xz
re3-76dd769085ae822243b4c34aa867408ae69e5893.tar.zst
re3-76dd769085ae822243b4c34aa867408ae69e5893.zip
Diffstat (limited to 'src/audio/AudioManager.cpp')
-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 63b73a9f..207d64ad 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -671,10 +671,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;