fix assertion failure in easy course mode

This commit is contained in:
Glenn Maynard
2004-05-22 04:41:25 +00:00
parent 20d57a24ee
commit 7c3bc14d4e
+1
View File
@@ -73,6 +73,7 @@ void DifficultyIcon::SetFromCourseDifficulty( PlayerNumber pn, CourseDifficulty
m_bBlank = false;
switch( cd )
{
case COURSE_DIFFICULTY_EASY: SetFromDifficulty(pn,DIFFICULTY_EASY); break;
case COURSE_DIFFICULTY_REGULAR: SetFromDifficulty(pn,DIFFICULTY_MEDIUM); break;
case COURSE_DIFFICULTY_DIFFICULT: SetFromDifficulty(pn,DIFFICULTY_HARD); break;
default: ASSERT(0);