From bde4fa54cb3c790c5c8aaa6777816f715b7fb26f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 14 Feb 2004 01:29:09 +0000 Subject: [PATCH] cleanup --- stepmania/src/ScreenAttract.cpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/stepmania/src/ScreenAttract.cpp b/stepmania/src/ScreenAttract.cpp index e75b41141b..67ee4f8ede 100644 --- a/stepmania/src/ScreenAttract.cpp +++ b/stepmania/src/ScreenAttract.cpp @@ -156,17 +156,9 @@ void ScreenAttract::HandleScreenMessage( const ScreenMessage SM ) m_Out.StartTransitioning( SM_GoToNextScreen ); break; case SM_GoToNextScreen: - /* Look at the def of the screen we're going to; if it has a - * music theme element and it's the same as the one we're playing - * now, don't stop. (However, if we're going to interrupt it - * when we fade in, it's cleaner to stop it before we fade out.) */ - - /* Don't stop the music, or else the music will start over from the - * beginning for consecutive screens with the same music. -Chris */ - - /* But if you don't stop it, for screens that have their own unique - * music, it will constantly loop even after the screen has gone on - * to the next attract screen. -- Miryokuteki */ + /* Look at the def of the screen we're going to; if it has a music theme element + * and it's the same as the one we're playing now, don't stop. However, if we're + * going to interrupt it when we fade in, stop the old music before we fade out. */ bool bGoingToPlayTheSameMusic = THEME->GetPathS( NEXT_SCREEN, "music", false) == THEME->GetPathS( m_sName, "music", false); if( bGoingToPlayTheSameMusic )