This update is done as necessary *within* the SortCoursePointerArrayBy*
functions.
This commit is contained in:
@@ -578,11 +578,6 @@ void MusicWheel::BuildWheelItemDatas( vector<WheelItemData> &arrayWheelItemDatas
|
||||
|
||||
if (PREFSMAN->m_iCourseSortOrder != PrefsManager::COURSE_SORT_SONGS)
|
||||
{
|
||||
// update course info first. It must be done here
|
||||
// because doubles stats may differ from singles stats.
|
||||
for(unsigned i = 0; i < apCourses.size(); i++)
|
||||
apCourses[i]->UpdateCourseStats();
|
||||
|
||||
if (PREFSMAN->m_iCourseSortOrder == PrefsManager::COURSE_SORT_METER)
|
||||
SortCoursePointerArrayByAvgDifficulty( apCourses );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user