diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 09:52:58 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 09:52:58 +0200 |
commit | 5abd466b5d62ccb4c3cb5c0a158f2eff65bb7f51 (patch) | |
tree | 361e17568ce5dd77a8711f196f92324cdef72d10 /src/audio/AudioManager.cpp | |
parent | remove debug (diff) | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-5abd466b5d62ccb4c3cb5c0a158f2eff65bb7f51.tar re3-5abd466b5d62ccb4c3cb5c0a158f2eff65bb7f51.tar.gz re3-5abd466b5d62ccb4c3cb5c0a158f2eff65bb7f51.tar.bz2 re3-5abd466b5d62ccb4c3cb5c0a158f2eff65bb7f51.tar.lz re3-5abd466b5d62ccb4c3cb5c0a158f2eff65bb7f51.tar.xz re3-5abd466b5d62ccb4c3cb5c0a158f2eff65bb7f51.tar.zst re3-5abd466b5d62ccb4c3cb5c0a158f2eff65bb7f51.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; |