summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-12 19:12:37 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:46:21 +0200
commit7c3457257bce429bb3c018224571a6e2fac53596 (patch)
tree7bae6d378f968fb662d6aa7c401d1400ca006a13
parentFix use of enum in ped comment banks switch (diff)
downloadre3-7c3457257bce429bb3c018224571a6e2fac53596.tar
re3-7c3457257bce429bb3c018224571a6e2fac53596.tar.gz
re3-7c3457257bce429bb3c018224571a6e2fac53596.tar.bz2
re3-7c3457257bce429bb3c018224571a6e2fac53596.tar.lz
re3-7c3457257bce429bb3c018224571a6e2fac53596.tar.xz
re3-7c3457257bce429bb3c018224571a6e2fac53596.tar.zst
re3-7c3457257bce429bb3c018224571a6e2fac53596.zip
-rw-r--r--src/audio/PolRadio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp
index b22409a5..ba6497ce 100644
--- a/src/audio/PolRadio.cpp
+++ b/src/audio/PolRadio.cpp
@@ -226,7 +226,7 @@ cAudioManager::ServicePoliceRadioChannel(uint8 wantedLevel)
if (sample == NO_SAMPLE) {
if (!processed) cWait = 30;
} else {
- SampleManager.InitialiseChannel(CHANNEL_POLICE_RADIO, sample, 0);
+ SampleManager.InitialiseChannel(CHANNEL_POLICE_RADIO, sample, SFX_BANK_0);
switch (sample) {
case SFX_POLICE_RADIO_MESSAGE_NOISE_1:
freq = m_anRandomTable[4] % 2000 + 10025;