From 5dac62ea7d2ca10a198fe51adf0484f07bc9399a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 23 Dec 2006 10:15:23 +0000 Subject: [PATCH] reset m_iMaxDriverFrame in RageSound::SoundIsFinishedPlaying, like StopPlaying --- stepmania/src/RageSound.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index eb8e096c50..0ef08efcd2 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -374,6 +374,7 @@ void RageSound::SoundIsFinishedPlaying() // LOG->Trace("set playing false for %p (SoundIsFinishedPlaying) (%s)", this, this->GetLoadedFilePath().c_str()); m_bPlaying = false; + m_iMaxDriverFrame = 0; m_HardwareToStreamMap.Clear(); m_StreamToSourceMap.Clear();