diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-16 04:07:39 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-16 04:07:39 +0200 |
commit | 76dd769085ae822243b4c34aa867408ae69e5893 (patch) | |
tree | 525c9b05b9b320e210cbb447abe33d3c33e69dbc /src/audio/AudioManager.cpp | |
parent | Merge pull request #550 from erorcun/miami (diff) | |
parent | Remove unused audio enum (diff) | |
download | re3-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.cpp | 8 |
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; |