mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 00:18:59 +00:00
Merge pull request #921 from TheOfficialFloW/patch-2
Fix typo in ProcessMissionAudioSlot.
This commit is contained in:
commit
12a869c62a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue