Pause the music on start if game paused during song switch. (Re #475)

This commit is contained in:
Glenn Maynard
2005-04-16 03:46:14 +00:00
parent 616776cff1
commit cab6da1d82
+2
View File
@@ -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;