aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio/PolRadio.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-11 15:33:50 +0300
committerSergeanur <s.anureev@yandex.ua>2021-08-12 11:39:34 +0300
commitce78081a7f61fed79281fa252da6f29d9f1030dc (patch)
treed07c8d9eed074a2c41898eb9cd28ed8f960e1171 /src/audio/PolRadio.cpp
parent6c2d179aadd9e54afc010c7f8b79d663017d168c (diff)
Put more things under ifdef
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 d6079191..742e5ea5 100644
--- a/src/audio/PolRadio.cpp
+++ b/src/audio/PolRadio.cpp
@@ -133,7 +133,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;