fix autoplay in courses

This commit is contained in:
Glenn Maynard
2003-04-12 16:10:19 +00:00
parent ca48082f50
commit 043d250d87
+2 -2
View File
@@ -513,8 +513,6 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration ) : Screen("ScreenGameplay")
m_soundAssistTick.Load( THEME->GetPathTo("Sounds","ScreenGameplay assist tick") ); m_soundAssistTick.Load( THEME->GetPathTo("Sounds","ScreenGameplay assist tick") );
} }
m_iRowLastCrossed = -1;
// Get the transitions rolling on the first update. // Get the transitions rolling on the first update.
// We can't do this in the constructor because ScreenGameplay is constructed // We can't do this in the constructor because ScreenGameplay is constructed
// in the middle of ScreenStage. // in the middle of ScreenStage.
@@ -544,6 +542,8 @@ bool ScreenGameplay::IsLastSong()
void ScreenGameplay::LoadNextSong() void ScreenGameplay::LoadNextSong()
{ {
m_iRowLastCrossed = -1;
GAMESTATE->ResetMusicStatistics(); GAMESTATE->ResetMusicStatistics();
int p; int p;
for( p=0; p<NUM_PLAYERS; p++ ) for( p=0; p<NUM_PLAYERS; p++ )