cleanup
This commit is contained in:
@@ -2282,12 +2282,11 @@ void ScreenGameplay::StageFinished( bool bBackedOut )
|
||||
if( GAMESTATE->IsCourseMode() && GAMESTATE->m_PlayMode != PLAY_MODE_ENDLESS )
|
||||
{
|
||||
LOG->Trace("Stage finished at index %i/%i", GAMESTATE->GetCourseSongIndex(), (int) m_apSongsQueue.size() );
|
||||
/* +1 to skip the current song; that's done already. */
|
||||
for( unsigned iPlaySongIndex = GAMESTATE->GetCourseSongIndex()+1;
|
||||
iPlaySongIndex < m_apSongsQueue.size(); ++iPlaySongIndex )
|
||||
/* +1 to skip the current song; that song has already passed. */
|
||||
for( unsigned i = GAMESTATE->GetCourseSongIndex()+1; i < m_apSongsQueue.size(); ++i )
|
||||
{
|
||||
LOG->Trace("Running stats for %i", iPlaySongIndex );
|
||||
SetupSong( iPlaySongIndex );
|
||||
LOG->Trace("Running stats for %i", i );
|
||||
SetupSong( i );
|
||||
FOREACH_EnabledPlayerInfo( m_vPlayerInfo, pi )
|
||||
pi->m_pPlayer->ApplyWaitingTransforms();
|
||||
SongFinished();
|
||||
|
||||
Reference in New Issue
Block a user