This commit is contained in:
Glenn Maynard
2003-09-15 00:32:20 +00:00
parent 5b8a8e6f07
commit bad37ad932
+1 -2
View File
@@ -477,8 +477,7 @@ static vector<Song*> GetFilteredBestSongs( StepsType nt )
for( int j=vSongsByMostPlayed.size()-1; j>=0; j-- ) for( int j=vSongsByMostPlayed.size()-1; j>=0; j-- )
{ {
Song* pSong = vSongsByMostPlayed[j]; Song* pSong = vSongsByMostPlayed[j];
if( pSong->m_fMusicLengthSeconds > PREFSMAN->m_fLongVerSongSeconds || if( SONGMAN->GetNumStagesForSong(pSong) > 1 ||
pSong->m_fMusicLengthSeconds > PREFSMAN->m_fMarathonVerSongSeconds ||
!pSong->GetStepsByDifficulty(nt, DIFFICULTY_MEDIUM, PREFSMAN->m_bAutogenMissingTypes) || !pSong->GetStepsByDifficulty(nt, DIFFICULTY_MEDIUM, PREFSMAN->m_bAutogenMissingTypes) ||
!pSong->GetStepsByDifficulty(nt, DIFFICULTY_HARD, PREFSMAN->m_bAutogenMissingTypes) ) !pSong->GetStepsByDifficulty(nt, DIFFICULTY_HARD, PREFSMAN->m_bAutogenMissingTypes) )
vSongsByMostPlayed.erase( vSongsByMostPlayed.begin()+j ); vSongsByMostPlayed.erase( vSongsByMostPlayed.begin()+j );