Bugfix: Stages not reset when game over. (Well.. they do now!)

This commit is contained in:
Andrew Livy
2002-07-11 00:44:34 +00:00
parent d460520ddb
commit f8042bcc52
3 changed files with 5 additions and 1 deletions
+3
View File
@@ -123,6 +123,9 @@ ScreenMusicScroll::ScreenMusicScroll()
int i;
// BUGFIX by ANDY: Stage will now reset back to 0 when game ends.
PREFSMAN->m_iCurrentStageIndex = 0;
m_sprBackground.Load( THEME->GetPathTo(GRAPHIC_MUSIC_SCROLL_BACKGROUND) );
m_sprBackground.StretchTo( CRect(SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM) );
this->AddActor( &m_sprBackground );