summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioCollision.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-12 13:57:16 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-12 13:57:16 +0200
commit92c5cf1877484eb209379da252766d1e9e1c8950 (patch)
tree6ce87dead9991c4106ba23dc94284661906665df /src/audio/AudioCollision.cpp
parentWaypoint text fix (diff)
downloadre3-92c5cf1877484eb209379da252766d1e9e1c8950.tar
re3-92c5cf1877484eb209379da252766d1e9e1c8950.tar.gz
re3-92c5cf1877484eb209379da252766d1e9e1c8950.tar.bz2
re3-92c5cf1877484eb209379da252766d1e9e1c8950.tar.lz
re3-92c5cf1877484eb209379da252766d1e9e1c8950.tar.xz
re3-92c5cf1877484eb209379da252766d1e9e1c8950.tar.zst
re3-92c5cf1877484eb209379da252766d1e9e1c8950.zip
Diffstat (limited to 'src/audio/AudioCollision.cpp')
-rw-r--r--src/audio/AudioCollision.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioCollision.cpp b/src/audio/AudioCollision.cpp
index d94d99ea..0a3c1edd 100644
--- a/src/audio/AudioCollision.cpp
+++ b/src/audio/AudioCollision.cpp
@@ -265,7 +265,7 @@ cAudioManager::SetUpOneShotCollisionSound(const cAudioCollision &col)
m_sQueueSample.m_bIs2D = FALSE;
m_sQueueSample.m_nReleasingVolumeModificator = 11;
m_sQueueSample.m_nLoopCount = 1;
- m_sQueueSample.m_nEmittingVolume = emittingVol;
+ SET_EMITTING_VOLUME(emittingVol);
RESET_LOOP_OFFSETS
m_sQueueSample.m_fSpeedMultiplier = 4.0f;
m_sQueueSample.m_fSoundIntensity = CollisionSoundIntensity;
@@ -294,7 +294,7 @@ cAudioManager::SetUpLoopingCollisionSound(const cAudioCollision &col, uint8 coun
m_sQueueSample.m_bIs2D = FALSE;
m_sQueueSample.m_nReleasingVolumeModificator = 7;
m_sQueueSample.m_nLoopCount = 0;
- m_sQueueSample.m_nEmittingVolume = emittingVol;
+ SET_EMITTING_VOLUME(emittingVol);
SET_LOOP_OFFSETS(m_sQueueSample.m_nSampleIndex)
m_sQueueSample.m_fSpeedMultiplier = 4.0f;
m_sQueueSample.m_fSoundIntensity = CollisionSoundIntensity;