summaryrefslogtreecommitdiffstats
path: root/src/audio/PolRadio.cpp
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:34:33 +0200
commit4b8b0a6d74fe90c4d9832efcf3092e14f04b0281 (patch)
tree3b1e48e2d766f6bc0de1ddb8c43f71d25e8af92b /src/audio/PolRadio.cpp
parentFix use of enum in ped comment banks switch (diff)
downloadre3-4b8b0a6d74fe90c4d9832efcf3092e14f04b0281.tar
re3-4b8b0a6d74fe90c4d9832efcf3092e14f04b0281.tar.gz
re3-4b8b0a6d74fe90c4d9832efcf3092e14f04b0281.tar.bz2
re3-4b8b0a6d74fe90c4d9832efcf3092e14f04b0281.tar.lz
re3-4b8b0a6d74fe90c4d9832efcf3092e14f04b0281.tar.xz
re3-4b8b0a6d74fe90c4d9832efcf3092e14f04b0281.tar.zst
re3-4b8b0a6d74fe90c4d9832efcf3092e14f04b0281.zip
Diffstat (limited to 'src/audio/PolRadio.cpp')
-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 c72c80a9..30756d94 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;