summaryrefslogtreecommitdiffstats
path: root/src/audio/PolRadio.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-19 07:45:56 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-19 07:45:56 +0200
commit51ba90dd522b82b4376888b50be7d1d1afab31fc (patch)
tree99dbb84e98472d63b98faa2b0bbfec4543343da1 /src/audio/PolRadio.cpp
parentFix acceleration sound playing when exiting the vehicle, code fixes in ProcessPlayersVehicleEngine (diff)
downloadre3-51ba90dd522b82b4376888b50be7d1d1afab31fc.tar
re3-51ba90dd522b82b4376888b50be7d1d1afab31fc.tar.gz
re3-51ba90dd522b82b4376888b50be7d1d1afab31fc.tar.bz2
re3-51ba90dd522b82b4376888b50be7d1d1afab31fc.tar.lz
re3-51ba90dd522b82b4376888b50be7d1d1afab31fc.tar.xz
re3-51ba90dd522b82b4376888b50be7d1d1afab31fc.tar.zst
re3-51ba90dd522b82b4376888b50be7d1d1afab31fc.zip
Diffstat (limited to '')
-rw-r--r--src/audio/PolRadio.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp
index 30b19086..1cda7529 100644
--- a/src/audio/PolRadio.cpp
+++ b/src/audio/PolRadio.cpp
@@ -246,8 +246,10 @@ cAudioManager::ServicePoliceRadioChannel(uint8 wantedLevel)
SampleManager.SetChannelFrequency(CHANNEL_POLICE_RADIO, freq);
SampleManager.SetChannelVolume(CHANNEL_POLICE_RADIO, 100);
SampleManager.SetChannelPan(CHANNEL_POLICE_RADIO, 63);
+#ifndef GTA_PS2
SampleManager.SetChannelLoopCount(CHANNEL_POLICE_RADIO, 1);
SampleManager.SetChannelLoopPoints(CHANNEL_POLICE_RADIO, 0, -1);
+#endif
SampleManager.StartChannel(CHANNEL_POLICE_RADIO);
}
if (processed) ResetPoliceRadio();