summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioCollision.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-16 09:00:10 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-16 09:00:10 +0200
commitc7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66 (patch)
treebe74ff00397d85ecdec1ec65198fed0516b82935 /src/audio/AudioCollision.cpp
parentFix CW build (diff)
downloadre3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar.gz
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar.bz2
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar.lz
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar.xz
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar.zst
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.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 0a3c1edd..4bf6a404 100644
--- a/src/audio/AudioCollision.cpp
+++ b/src/audio/AudioCollision.cpp
@@ -268,7 +268,7 @@ cAudioManager::SetUpOneShotCollisionSound(const cAudioCollision &col)
SET_EMITTING_VOLUME(emittingVol);
RESET_LOOP_OFFSETS
m_sQueueSample.m_fSpeedMultiplier = 4.0f;
- m_sQueueSample.m_fSoundIntensity = CollisionSoundIntensity;
+ m_sQueueSample.m_SoundIntensity = CollisionSoundIntensity;
m_sQueueSample.m_bReleasingSoundFlag = TRUE;
m_sQueueSample.m_bReverbFlag = TRUE;
m_sQueueSample.m_bRequireReflection = FALSE;
@@ -297,7 +297,7 @@ cAudioManager::SetUpLoopingCollisionSound(const cAudioCollision &col, uint8 coun
SET_EMITTING_VOLUME(emittingVol);
SET_LOOP_OFFSETS(m_sQueueSample.m_nSampleIndex)
m_sQueueSample.m_fSpeedMultiplier = 4.0f;
- m_sQueueSample.m_fSoundIntensity = CollisionSoundIntensity;
+ m_sQueueSample.m_SoundIntensity = CollisionSoundIntensity;
m_sQueueSample.m_bReleasingSoundFlag = FALSE;
m_sQueueSample.m_nReleasingVolumeDivider = 5;
m_sQueueSample.m_bReverbFlag = TRUE;