From ee4aad473ef1e6065295795eae6f1239ed5d4bbe Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 28 Jul 2003 07:35:54 +0000 Subject: [PATCH] Use the derived meter value instead of a plain average. --- stepmania/src/Course.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index 4fbbdd3056..592515c0cb 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -785,8 +785,8 @@ static bool CompareCoursePointersByDifficulty(const Course* pCourse1, const Cour static bool CompareCoursePointersByAvgDifficulty(const Course* pCourse1, const Course* pCourse2) { - float iNum1 = pCourse1->SortOrder_AvgDifficulty; - float iNum2 = pCourse2->SortOrder_AvgDifficulty; + int iNum1 = pCourse1->GetMeter( false ); // SortOrder_AvgDifficulty; + int iNum2 = pCourse2->GetMeter( false ); // SortOrder_AvgDifficulty; if( iNum1 < iNum2 ) return true;