diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-09-19 14:55:27 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-09-19 14:55:27 +0200 |
commit | 7efc153dc9c452e63a6010226d7eba0f13358d41 (patch) | |
tree | 9e5eb6e279c63b453cce3ddbd5f6a70a11a5db7a /src/audio/AudioCollision.cpp | |
parent | Fix RotateY (diff) | |
download | re3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar re3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar.gz re3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar.bz2 re3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar.lz re3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar.xz re3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar.zst re3-7efc153dc9c452e63a6010226d7eba0f13358d41.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; |