diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-06-12 18:59:28 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 20:34:33 +0200 |
commit | 1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf (patch) | |
tree | d4d2ac80a0f2d8eee7cf1b008f14d269d26b688d /src/audio/PolRadio.cpp | |
parent | Fix cAudioManager::ProcessCarHeli (diff) | |
download | re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar.gz re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar.bz2 re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar.lz re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar.xz re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar.zst re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.zip |
Diffstat (limited to 'src/audio/PolRadio.cpp')
-rw-r--r-- | src/audio/PolRadio.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp index 82f44dee..c72c80a9 100644 --- a/src/audio/PolRadio.cpp +++ b/src/audio/PolRadio.cpp @@ -108,8 +108,7 @@ cAudioManager::DoPoliceRadioCrackle() m_sQueueSample.m_nVolume = m_anRandomTable[2] % 20 + 15; m_sQueueSample.m_nLoopCount = 0; m_sQueueSample.m_nEmittingVolume = m_sQueueSample.m_nVolume; - m_sQueueSample.m_nLoopStart = SampleManager.GetSampleLoopStartOffset(SFX_POLICE_RADIO_CRACKLE); - m_sQueueSample.m_nLoopEnd = SampleManager.GetSampleLoopEndOffset(SFX_POLICE_RADIO_CRACKLE); + SET_LOOP_OFFSETS(SFX_POLICE_RADIO_CRACKLE) m_sQueueSample.m_bReleasingSoundFlag = FALSE; m_sQueueSample.m_bReverbFlag = FALSE; m_sQueueSample.m_nOffset = 63; |