mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 15:30:00 +00:00
Fix ServiceTrack
This commit is contained in:
parent
1169437ec6
commit
9ae3fac08e
|
@ -991,6 +991,7 @@ cMusicManager::ServiceTrack(CVehicle *veh, CPed *ped)
|
||||||
}
|
}
|
||||||
} else if (AudioManager.ShouldDuckMissionAudio(0) || AudioManager.ShouldDuckMissionAudio(1)) {
|
} else if (AudioManager.ShouldDuckMissionAudio(0) || AudioManager.ShouldDuckMissionAudio(1)) {
|
||||||
SampleManager.SetStreamedVolumeAndPan(Min(m_nCurrentVolume, 25), 63, 0, 0);
|
SampleManager.SetStreamedVolumeAndPan(Min(m_nCurrentVolume, 25), 63, 0, 0);
|
||||||
|
nFramesSinceCutsceneEnded = 0;
|
||||||
} else {
|
} else {
|
||||||
if (nFramesSinceCutsceneEnded == -1)
|
if (nFramesSinceCutsceneEnded == -1)
|
||||||
volume = m_nCurrentVolume;
|
volume = m_nCurrentVolume;
|
||||||
|
|
Loading…
Reference in a new issue