make SOUND handle ScreenGameplay's music

This commit is contained in:
Glenn Maynard
2004-01-20 06:08:56 +00:00
parent 614b3d6f3d
commit 42e0413e0f
6 changed files with 25 additions and 35 deletions
+1 -3
View File
@@ -217,9 +217,7 @@ void ScreenJukebox::HandleScreenMessage( const ScreenMessage SM )
m_Out.StartTransitioning( SM_GoToNextScreen );
return;
case SM_GoToNextScreen:
/* We're actually under Update(), so make sure ScreenGameplay doesn't
* continue grading for this call. */
m_soundMusic.StopPlaying();
SOUND->StopMusic();
SCREENMAN->SetNewScreen( "ScreenJukebox" );
return;
}