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:46:18 +0200 |
commit | 0910188058e7c2f9c4182b69f9482bfbf8848d43 (patch) | |
tree | 8c67ebbd5f6cbd56cb0364f5457085759ed03f25 /src/audio/PolRadio.cpp | |
parent | Fix cAudioManager::ProcessCarHeli (diff) | |
download | re3-0910188058e7c2f9c4182b69f9482bfbf8848d43.tar re3-0910188058e7c2f9c4182b69f9482bfbf8848d43.tar.gz re3-0910188058e7c2f9c4182b69f9482bfbf8848d43.tar.bz2 re3-0910188058e7c2f9c4182b69f9482bfbf8848d43.tar.lz re3-0910188058e7c2f9c4182b69f9482bfbf8848d43.tar.xz re3-0910188058e7c2f9c4182b69f9482bfbf8848d43.tar.zst re3-0910188058e7c2f9c4182b69f9482bfbf8848d43.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 64693926..b22409a5 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; |