From ac8b57f6aa7ea5a8d597e26a4b77753502622fbe Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 21 Jan 2004 01:47:54 +0000 Subject: [PATCH] fix HasCourseDifficulty(COURSE_DIFFICULTY_REGULAR) --- stepmania/src/Course.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index 6e44fbc027..2fc100ee19 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -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 Normal, Hard; GetCourseInfo( nt, Normal, COURSE_DIFFICULTY_REGULAR ); GetCourseInfo( nt, Hard, cd );