diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 12:28:33 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 12:28:33 +0200 |
commit | eefb0c817f1c86cb24d3a730da848e1f98277948 (patch) | |
tree | d4872bafd56e69213a6e973ac539c01942042a01 /src/audio/AudioCollision.cpp | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
parent | Fix MASTER build with glfw (diff) | |
download | re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar.gz re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar.bz2 re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar.lz re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar.xz re3-eefb0c817f1c86cb24d3a730da848e1f98277948.tar.zst re3-eefb0c817f1c86cb24d3a730da848e1f98277948.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/AudioCollision.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioCollision.cpp b/src/audio/AudioCollision.cpp index 55d64714..6ce7bbac 100644 --- a/src/audio/AudioCollision.cpp +++ b/src/audio/AudioCollision.cpp @@ -165,7 +165,7 @@ cAudioManager::SetUpLoopingCollisionSound(const cAudioCollision &col, uint8 coun if(m_sQueueSample.m_nVolume) { m_sQueueSample.m_nCounter = counter; m_sQueueSample.m_vecPos = col.m_vecPosition; - m_sQueueSample.m_nBankIndex = SAMPLEBANK_MAIN; + m_sQueueSample.m_nBankIndex = SFX_BANK_0; m_sQueueSample.m_bIs2D = false; m_sQueueSample.m_nReleasingVolumeModificator = 7; m_sQueueSample.m_nLoopCount = 0; @@ -306,7 +306,7 @@ cAudioManager::SetUpOneShotCollisionSound(const cAudioCollision &col) m_sQueueSample.m_nCounter = counter++; if(counter >= 255) counter = 28; m_sQueueSample.m_vecPos = col.m_vecPosition; - m_sQueueSample.m_nBankIndex = SAMPLEBANK_MAIN; + m_sQueueSample.m_nBankIndex = SFX_BANK_0; m_sQueueSample.m_bIs2D = false; m_sQueueSample.m_nReleasingVolumeModificator = 11; m_sQueueSample.m_nLoopCount = 1; |