diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-19 09:53:14 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-19 09:53:14 +0200 |
commit | 71e0895dc60303d364c7972608e51c1a027f19fc (patch) | |
tree | f4d8ee3ca5f0ac2e847fbaecf6a342becd617446 /src/audio/PolRadio.cpp | |
parent | Audio: ifdef more things that aren't on ps2 (diff) | |
download | re3-71e0895dc60303d364c7972608e51c1a027f19fc.tar re3-71e0895dc60303d364c7972608e51c1a027f19fc.tar.gz re3-71e0895dc60303d364c7972608e51c1a027f19fc.tar.bz2 re3-71e0895dc60303d364c7972608e51c1a027f19fc.tar.lz re3-71e0895dc60303d364c7972608e51c1a027f19fc.tar.xz re3-71e0895dc60303d364c7972608e51c1a027f19fc.tar.zst re3-71e0895dc60303d364c7972608e51c1a027f19fc.zip |
Diffstat (limited to 'src/audio/PolRadio.cpp')
-rw-r--r-- | src/audio/PolRadio.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp index 1cda7529..cf46daf9 100644 --- a/src/audio/PolRadio.cpp +++ b/src/audio/PolRadio.cpp @@ -64,8 +64,9 @@ cAudioManager::InitialisePoliceRadio() m_sPoliceRadioQueue.policeChannelCounterSeconds = 0; for (int32 i = 0; i < ARRAY_SIZE(m_sPoliceRadioQueue.crimes); i++) m_sPoliceRadioQueue.crimes[i].type = CRIME_NONE; - +#if !defined(GTA_PS2) || defined(AUDIO_REVERB) SampleManager.SetChannelReverbFlag(CHANNEL_POLICE_RADIO, FALSE); +#endif gSpecialSuspectLastSeenReport = FALSE; for (int32 i = 0; i < ARRAY_SIZE(gMinTimeToNextReport); i++) gMinTimeToNextReport[i] = m_FrameCounter; @@ -110,7 +111,7 @@ cAudioManager::DoPoliceRadioCrackle() SET_EMITTING_VOLUME(m_sQueueSample.m_nVolume); SET_LOOP_OFFSETS(SFX_POLICE_RADIO_CRACKLE) m_sQueueSample.m_bReleasingSoundFlag = FALSE; - m_sQueueSample.m_bReverbFlag = FALSE; + SET_SOUND_REVERB(FALSE); m_sQueueSample.m_nOffset = 63; m_sQueueSample.m_nReleasingVolumeDivider = 3; SET_SOUND_REFLECTION(FALSE); |