diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-09-21 00:55:22 +0200 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-09-21 00:55:22 +0200 |
commit | 5b9e4c47802058da5b3841aed2ae175d51487b8b (patch) | |
tree | 81374e0bed1001e5970be39ac59a332ca2be7043 /src/audio/AudioCollision.cpp | |
parent | just more cleanup... (diff) | |
download | re3-5b9e4c47802058da5b3841aed2ae175d51487b8b.tar re3-5b9e4c47802058da5b3841aed2ae175d51487b8b.tar.gz re3-5b9e4c47802058da5b3841aed2ae175d51487b8b.tar.bz2 re3-5b9e4c47802058da5b3841aed2ae175d51487b8b.tar.lz re3-5b9e4c47802058da5b3841aed2ae175d51487b8b.tar.xz re3-5b9e4c47802058da5b3841aed2ae175d51487b8b.tar.zst re3-5b9e4c47802058da5b3841aed2ae175d51487b8b.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; |