diff options
author | withmorten <morten.with@gmail.com> | 2021-01-21 21:55:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-21 21:55:33 +0100 |
commit | ef24783bff1dc74a846966660005cfefe23d48a2 (patch) | |
tree | b123f26121b59226b05bf87a36dec621890de0b3 /src/audio/AudioManager.cpp | |
parent | update librw (diff) | |
parent | codewarrior: finishing touches (diff) | |
download | re3-ef24783bff1dc74a846966660005cfefe23d48a2.tar re3-ef24783bff1dc74a846966660005cfefe23d48a2.tar.gz re3-ef24783bff1dc74a846966660005cfefe23d48a2.tar.bz2 re3-ef24783bff1dc74a846966660005cfefe23d48a2.tar.lz re3-ef24783bff1dc74a846966660005cfefe23d48a2.tar.xz re3-ef24783bff1dc74a846966660005cfefe23d48a2.tar.zst re3-ef24783bff1dc74a846966660005cfefe23d48a2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/AudioManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp index e1b5be1d..f61350fb 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -13,7 +13,7 @@ cAudioManager AudioManager; -const int channels = ARRAY_SIZE(cAudioManager::m_asActiveSamples); +const int channels = ARRAY_SIZE(AudioManager.m_asActiveSamples); const int policeChannel = channels + 1; const int allChannels = channels + 2; @@ -948,7 +948,7 @@ cAudioManager::ClearActiveSamples() m_asActiveSamples[i].m_nCalculatedVolume = 0; m_asActiveSamples[i].m_nReleasingVolumeDivider = 0; m_asActiveSamples[i].m_nVolumeChange = -1; - m_asActiveSamples[i].m_vecPos = {0.0f, 0.0f, 0.0f}; + m_asActiveSamples[i].m_vecPos = CVector(0.0f, 0.0f, 0.0f); m_asActiveSamples[i].m_bReverbFlag = false; m_asActiveSamples[i].m_nLoopsRemaining = 0; m_asActiveSamples[i].m_bRequireReflection = false; |