1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2025-07-15 23:37:44 +00:00

Small fix

This commit is contained in:
Sergeanur 2021-06-12 20:12:37 +03:00
parent ba23408007
commit 7c3457257b

View file

@ -226,7 +226,7 @@ cAudioManager::ServicePoliceRadioChannel(uint8 wantedLevel)
if (sample == NO_SAMPLE) { if (sample == NO_SAMPLE) {
if (!processed) cWait = 30; if (!processed) cWait = 30;
} else { } else {
SampleManager.InitialiseChannel(CHANNEL_POLICE_RADIO, sample, 0); SampleManager.InitialiseChannel(CHANNEL_POLICE_RADIO, sample, SFX_BANK_0);
switch (sample) { switch (sample) {
case SFX_POLICE_RADIO_MESSAGE_NOISE_1: case SFX_POLICE_RADIO_MESSAGE_NOISE_1:
freq = m_anRandomTable[4] % 2000 + 10025; freq = m_anRandomTable[4] % 2000 + 10025;