From 0939a2f69b53c7051d0f6c69d2eddf01a20df67e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 25 Apr 2007 21:18:38 +0000 Subject: [PATCH] remove stale code --- stepmania/src/ProfileManager.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stepmania/src/ProfileManager.cpp b/stepmania/src/ProfileManager.cpp index 840d5908c9..75ac7e073d 100644 --- a/stepmania/src/ProfileManager.cpp +++ b/stepmania/src/ProfileManager.cpp @@ -672,11 +672,6 @@ void ProfileManager::IncrementStepsPlayCount( const Song* pSong, const Steps* pS Grade ProfileManager::GetHighGradeForDifficulty( const Song *s, const Style *st, ProfileSlot slot, Difficulty dc ) const { - // return max grade of notes in difficulty class - vector aNotes; - SongUtil::GetSteps( s, aNotes, st->m_StepsType ); - StepsUtil::SortNotesArrayByDifficulty( aNotes ); - const Steps* pSteps = SongUtil::GetStepsByDifficulty( s, st->m_StepsType, dc ); if( pSteps && PROFILEMAN->IsPersistentProfile(slot) )