Fix Caprice.
This commit is contained in:
@@ -514,7 +514,7 @@ void Course::GetCourseInfo( StepsType nt, vector<Course::Info> &ci, int Difficul
|
|||||||
|
|
||||||
for( unsigned i=0; i<entries.size(); i++ )
|
for( unsigned i=0; i<entries.size(); i++ )
|
||||||
{
|
{
|
||||||
CourseEntry &e = entries[i];
|
const CourseEntry &e = entries[i];
|
||||||
|
|
||||||
Song* pSong = NULL; // fill this in
|
Song* pSong = NULL; // fill this in
|
||||||
Steps* pNotes = NULL; // fill this in
|
Steps* pNotes = NULL; // fill this in
|
||||||
@@ -537,7 +537,6 @@ void Course::GetCourseInfo( StepsType nt, vector<Course::Info> &ci, int Difficul
|
|||||||
else
|
else
|
||||||
pNotes = pSong->GetStepsByDifficulty( nt, DIFFICULTY_MEDIUM, PREFSMAN->m_bAutogenMissingTypes );
|
pNotes = pSong->GetStepsByDifficulty( nt, DIFFICULTY_MEDIUM, PREFSMAN->m_bAutogenMissingTypes );
|
||||||
}
|
}
|
||||||
e.mystery = false;
|
|
||||||
break;
|
break;
|
||||||
case COURSE_ENTRY_RANDOM:
|
case COURSE_ENTRY_RANDOM:
|
||||||
case COURSE_ENTRY_RANDOM_WITHIN_GROUP:
|
case COURSE_ENTRY_RANDOM_WITHIN_GROUP:
|
||||||
@@ -567,7 +566,6 @@ void Course::GetCourseInfo( StepsType nt, vector<Course::Info> &ci, int Difficul
|
|||||||
pNotes = NULL;
|
pNotes = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
e.mystery = true;
|
|
||||||
break;
|
break;
|
||||||
case COURSE_ENTRY_BEST:
|
case COURSE_ENTRY_BEST:
|
||||||
case COURSE_ENTRY_WORST:
|
case COURSE_ENTRY_WORST:
|
||||||
@@ -601,7 +599,6 @@ void Course::GetCourseInfo( StepsType nt, vector<Course::Info> &ci, int Difficul
|
|||||||
if( pNotes == NULL )
|
if( pNotes == NULL )
|
||||||
pNotes = pSong->GetClosestNotes( nt, DIFFICULTY_MEDIUM );
|
pNotes = pSong->GetClosestNotes( nt, DIFFICULTY_MEDIUM );
|
||||||
}
|
}
|
||||||
e.mystery = false;
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ASSERT(0);
|
ASSERT(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user