fix wrong song number displayed in nonstop if one player fails and the other doesn't

This commit is contained in:
Chris Danford
2005-10-02 19:58:40 +00:00
parent db71996be1
commit 8863adb31a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1065,7 +1065,7 @@ void ScreenGameplay::LoadNextSong()
{
pi->GetPlayerStageStats()->iSongsPlayed++;
if( pi->m_ptextCourseSongNumber )
pi->m_ptextCourseSongNumber->SetText( ssprintf("%d", pi->GetPlayerStageStats()->iSongsPlayed) );
pi->m_ptextCourseSongNumber->SetText( ssprintf("%d", pi->GetPlayerStageStats()->iSongsPassed+1) );
}
LoadCourseSongNumber( GAMESTATE->GetCourseSongIndex() );