summaryrefslogtreecommitdiffstats
path: root/src/audio/PoliceRadio.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-02-02 14:57:27 +0100
committerSergeanur <s.anureev@yandex.ua>2020-02-02 14:57:27 +0100
commit72a4abd3477d19930c6f1e3c6977ea6744403b7b (patch)
treee6f4c4b030d11b2e9029e12a5dcfdd12ec588056 /src/audio/PoliceRadio.cpp
parentfixed firetruck crash (diff)
downloadre3-72a4abd3477d19930c6f1e3c6977ea6744403b7b.tar
re3-72a4abd3477d19930c6f1e3c6977ea6744403b7b.tar.gz
re3-72a4abd3477d19930c6f1e3c6977ea6744403b7b.tar.bz2
re3-72a4abd3477d19930c6f1e3c6977ea6744403b7b.tar.lz
re3-72a4abd3477d19930c6f1e3c6977ea6744403b7b.tar.xz
re3-72a4abd3477d19930c6f1e3c6977ea6744403b7b.tar.zst
re3-72a4abd3477d19930c6f1e3c6977ea6744403b7b.zip
Diffstat (limited to '')
-rw-r--r--src/audio/PoliceRadio.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio/PoliceRadio.cpp b/src/audio/PoliceRadio.cpp
index d90ed4b4..42ad3829 100644
--- a/src/audio/PoliceRadio.cpp
+++ b/src/audio/PoliceRadio.cpp
@@ -124,8 +124,8 @@ cAudioManager::DoPoliceRadioCrackle()
m_sQueueSample.m_nEntityIndex = m_nPoliceChannelEntity;
m_sQueueSample.m_counter = 0;
m_sQueueSample.m_nSampleIndex = SFX_POLICE_RADIO_CRACKLE;
- m_sQueueSample.m_bBankIndex = 0;
- m_sQueueSample.m_bIsDistant = 1;
+ m_sQueueSample.m_bBankIndex = SAMPLEBANK_MAIN;
+ m_sQueueSample.m_bIsDistant = true;
m_sQueueSample.field_16 = 10;
m_sQueueSample.m_nFrequency = SampleManager.GetSampleBaseFrequency(SFX_POLICE_RADIO_CRACKLE);
m_sQueueSample.m_bVolume = m_anRandomTable[2] % 20 + 15;
@@ -134,10 +134,10 @@ cAudioManager::DoPoliceRadioCrackle()
m_sQueueSample.m_nLoopStart = SampleManager.GetSampleLoopStartOffset(SFX_POLICE_RADIO_CRACKLE);
m_sQueueSample.m_nLoopEnd = SampleManager.GetSampleLoopEndOffset(SFX_POLICE_RADIO_CRACKLE);
m_sQueueSample.field_56 = 0;
- m_sQueueSample.m_bReverbFlag = 0;
+ m_sQueueSample.m_bReverbFlag = false;
m_sQueueSample.m_bOffset = 63;
m_sQueueSample.field_76 = 3;
- m_sQueueSample.m_bRequireReflection = 0;
+ m_sQueueSample.m_bRequireReflection = false;
AddSampleToRequestedQueue();
}