diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-11 14:33:50 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-12 10:39:34 +0200 |
commit | ce78081a7f61fed79281fa252da6f29d9f1030dc (patch) | |
tree | d07c8d9eed074a2c41898eb9cd28ed8f960e1171 /src/audio/PolRadio.cpp | |
parent | Add define to enable/disable external 3d audio simulation (diff) | |
download | re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar.gz re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar.bz2 re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar.lz re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar.xz re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.tar.zst re3-ce78081a7f61fed79281fa252da6f29d9f1030dc.zip |
Diffstat (limited to 'src/audio/PolRadio.cpp')
-rw-r--r-- | src/audio/PolRadio.cpp | 2 |
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; |