From bad37ad9326605f3c1d46f44aae571276c636b82 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 15 Sep 2003 00:32:20 +0000 Subject: [PATCH] simplify --- stepmania/src/Course.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index 80c7491412..ebcaa8d694 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -477,8 +477,7 @@ static vector GetFilteredBestSongs( StepsType nt ) for( int j=vSongsByMostPlayed.size()-1; j>=0; j-- ) { Song* pSong = vSongsByMostPlayed[j]; - if( pSong->m_fMusicLengthSeconds > PREFSMAN->m_fLongVerSongSeconds || - pSong->m_fMusicLengthSeconds > PREFSMAN->m_fMarathonVerSongSeconds || + if( SONGMAN->GetNumStagesForSong(pSong) > 1 || !pSong->GetStepsByDifficulty(nt, DIFFICULTY_MEDIUM, PREFSMAN->m_bAutogenMissingTypes) || !pSong->GetStepsByDifficulty(nt, DIFFICULTY_HARD, PREFSMAN->m_bAutogenMissingTypes) ) vSongsByMostPlayed.erase( vSongsByMostPlayed.begin()+j );