From cab6da1d82e5ccdbb061420f825acb2011aaaab4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 16 Apr 2005 03:46:14 +0000 Subject: [PATCH] Pause the music on start if game paused during song switch. (Re #475) --- stepmania/src/ScreenGameplay.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index b85d4cc603..b59dec9694 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -1090,6 +1090,8 @@ float ScreenGameplay::StartPlayingSong(float MinTimeToNotes, float MinTimeToMusi ASSERT( !m_pSoundMusic->IsPlaying() ); m_pSoundMusic->Play( &p ); + if( m_bPaused ) + m_pSoundMusic->Pause( true ); /* Make sure GAMESTATE->m_fMusicSeconds is set up. */ GAMESTATE->m_fMusicSeconds = -5000;