fix HasCourseDifficulty(COURSE_DIFFICULTY_REGULAR)

This commit is contained in:
Glenn Maynard
2004-01-21 01:47:54 +00:00
parent 6c71f9103f
commit ac8b57f6aa
+4
View File
@@ -464,6 +464,10 @@ bool Course::HasCourseDifficulty( StepsType nt, CourseDifficulty cd ) const
{
/* Check to see if any songs would change if difficult. */
/* COURSE_DIFFICULTY_REGULAR is always available (provided IsPlayableIn). */
if( cd == COURSE_DIFFICULTY_REGULAR )
return true;
vector<Info> Normal, Hard;
GetCourseInfo( nt, Normal, COURSE_DIFFICULTY_REGULAR );
GetCourseInfo( nt, Hard, cd );