diff options
author | aap <aap@papnet.eu> | 2021-01-03 17:00:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 17:00:08 +0100 |
commit | 12a869c62ac18d308c9ecdff58d31a4c6a67a397 (patch) | |
tree | 64f9715bab902145d4d5ba783e602ca3117fe761 /src | |
parent | fixed intro text line defaults (diff) | |
parent | Fix typo in ProcessMissionAudioSlot. (diff) | |
download | re3-12a869c62ac18d308c9ecdff58d31a4c6a67a397.tar re3-12a869c62ac18d308c9ecdff58d31a4c6a67a397.tar.gz re3-12a869c62ac18d308c9ecdff58d31a4c6a67a397.tar.bz2 re3-12a869c62ac18d308c9ecdff58d31a4c6a67a397.tar.lz re3-12a869c62ac18d308c9ecdff58d31a4c6a67a397.tar.xz re3-12a869c62ac18d308c9ecdff58d31a4c6a67a397.tar.zst re3-12a869c62ac18d308c9ecdff58d31a4c6a67a397.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/audio/AudioLogic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp index d3849e14..7d4361ca 100644 --- a/src/audio/AudioLogic.cpp +++ b/src/audio/AudioLogic.cpp @@ -9938,7 +9938,7 @@ cAudioManager::ProcessMissionAudioSlot(uint8 slot) } else { if (m_nUserPause) SampleManager.PauseStream(1, slot + 1); - if (m_sMissionAudio.m_bPredefinedProperties) { + if (m_sMissionAudio.m_bPredefinedProperties[slot]) { if (m_sMissionAudio.m_nSampleIndex[slot] == STREAMED_SOUND_MISSION_CAMERAL) SampleManager.SetStreamedVolumeAndPan(80, 0, 1, slot + 1); else if (m_sMissionAudio.m_nSampleIndex[slot] == STREAMED_SOUND_MISSION_CAMERAR) @@ -9992,7 +9992,7 @@ cAudioManager::ProcessMissionAudioSlot(uint8 slot) else { SampleManager.PauseStream(0, slot + 1); - if (!m_sMissionAudio.m_bPredefinedProperties) { + if (!m_sMissionAudio.m_bPredefinedProperties[slot]) { distSquared = GetDistanceSquared(m_sMissionAudio.m_vecPos[slot]); if (distSquared >= SQR(80.0f)) { emittingVol = 0; |