summaryrefslogtreecommitdiffstats
path: root/src/audio/PolRadio.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-18 20:07:33 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-18 20:07:33 +0200
commiteda2c054489e83a03a14976747cd19e3ac60d7a4 (patch)
treefd5338b76e24286a0900d4964a38a576ef8bad99 /src/audio/PolRadio.cpp
parentFix acceleration sound playing when exiting the vehicle (diff)
downloadre3-eda2c054489e83a03a14976747cd19e3ac60d7a4.tar
re3-eda2c054489e83a03a14976747cd19e3ac60d7a4.tar.gz
re3-eda2c054489e83a03a14976747cd19e3ac60d7a4.tar.bz2
re3-eda2c054489e83a03a14976747cd19e3ac60d7a4.tar.lz
re3-eda2c054489e83a03a14976747cd19e3ac60d7a4.tar.xz
re3-eda2c054489e83a03a14976747cd19e3ac60d7a4.tar.zst
re3-eda2c054489e83a03a14976747cd19e3ac60d7a4.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 b5df5c14..b1460b3c 100644
--- a/src/audio/PolRadio.cpp
+++ b/src/audio/PolRadio.cpp
@@ -271,8 +271,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();