diff options
Diffstat (limited to 'soundlib/Snd_fx.cpp')
-rw-r--r-- | soundlib/Snd_fx.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/soundlib/Snd_fx.cpp b/soundlib/Snd_fx.cpp index 3252d3c..77f86ea 100644 --- a/soundlib/Snd_fx.cpp +++ b/soundlib/Snd_fx.cpp @@ -1257,6 +1257,7 @@ std::vector<GetLengthType> CSoundFile::GetLength(enmGetLengthResetMode adjustMod { // Target found, or there is no target (i.e. play whole song)... m_PlayState = std::move(playState); + m_PlayState.ResetGlobalVolumeRamping(); m_PlayState.m_nNextRow = m_PlayState.m_nRow; m_PlayState.m_nFrameDelay = m_PlayState.m_nPatternDelay = 0; m_PlayState.m_nTickCount = Util::MaxValueOfType(m_PlayState.m_nTickCount) - 1; |