diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-03 00:52:30 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-03 00:52:30 +0200 |
commit | 9ae3fac08ed431ec6fbf0bc2819824dbfecff691 (patch) | |
tree | f1219c79906a74773d81fecddfbc233d20a6bd86 /src/audio/MusicManager.cpp | |
parent | 1169437ec6d82263f5c4ca363f4ecb05869eb493 (diff) |
Fix ServiceTrack
Diffstat (limited to 'src/audio/MusicManager.cpp')
-rw-r--r-- | src/audio/MusicManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp index 6ebf37e5..d23105ee 100644 --- a/src/audio/MusicManager.cpp +++ b/src/audio/MusicManager.cpp @@ -991,6 +991,7 @@ cMusicManager::ServiceTrack(CVehicle *veh, CPed *ped) } } else if (AudioManager.ShouldDuckMissionAudio(0) || AudioManager.ShouldDuckMissionAudio(1)) { SampleManager.SetStreamedVolumeAndPan(Min(m_nCurrentVolume, 25), 63, 0, 0); + nFramesSinceCutsceneEnded = 0; } else { if (nFramesSinceCutsceneEnded == -1) volume = m_nCurrentVolume; |