return bool, not int

This commit is contained in:
Glenn Maynard
2003-02-16 08:11:41 +00:00
parent 770eb00338
commit e0aaf15c54
+1 -1
View File
@@ -441,7 +441,7 @@ void Course::AddScores( NotesType nt, bool bPlayerEnabled[NUM_PLAYERS], int iDan
//
// Sorting stuff
//
static int CompareCoursePointersByDifficulty(const Course* pCourse1, const Course* pCourse2)
static bool CompareCoursePointersByDifficulty(const Course* pCourse1, const Course* pCourse2)
{
return pCourse1->GetEstimatedNumStages() < pCourse2->GetEstimatedNumStages();
}