summaryrefslogtreecommitdiffstats
path: root/src/audio/PolRadio.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-12 15:04:25 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-12 15:04:25 +0200
commit4141caa4d6e078fe1abbf87d8ab011c7c0705ffa (patch)
tree03b52846a966f00edf3a818da81eb0fb67c71372 /src/audio/PolRadio.cpp
parentMerge remote-tracking branch 'aap/lcs' into lcs (diff)
parentFix sampman_null (diff)
downloadre3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar.gz
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar.bz2
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar.lz
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar.xz
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.tar.zst
re3-4141caa4d6e078fe1abbf87d8ab011c7c0705ffa.zip
Diffstat (limited to 'src/audio/PolRadio.cpp')
-rw-r--r--src/audio/PolRadio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp
index d30b4826..b1e4ce4c 100644
--- a/src/audio/PolRadio.cpp
+++ b/src/audio/PolRadio.cpp
@@ -107,7 +107,7 @@ cAudioManager::DoPoliceRadioCrackle()
m_sQueueSample.m_nFrequency = SampleManager.GetSampleBaseFrequency(SFX_POLICE_RADIO_CRACKLE);
m_sQueueSample.m_nVolume = m_anRandomTable[2] % 20 + 15;
m_sQueueSample.m_nLoopCount = 0;
- m_sQueueSample.m_nEmittingVolume = m_sQueueSample.m_nVolume;
+ SET_EMITTING_VOLUME(m_sQueueSample.m_nVolume);
SET_LOOP_OFFSETS(SFX_POLICE_RADIO_CRACKLE)
m_sQueueSample.m_bReleasingSoundFlag = FALSE;
m_sQueueSample.m_bReverbFlag = FALSE;