fix misses when skipping songs in the jukebox

This commit is contained in:
Glenn Maynard
2003-02-09 06:08:03 +00:00
parent 98f82654f8
commit c22b8ff1bb
2 changed files with 10 additions and 1 deletions
+4
View File
@@ -240,6 +240,10 @@ void ScreenJukebox::HandleScreenMessage( const ScreenMessage SM )
m_Fade.CloseWipingRight( 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();
SCREENMAN->SetNewScreen( "ScreenJukebox" );
return;
}