GetDifficulty and GetMeterRange take an Info.

This commit is contained in:
Glenn Maynard
2003-07-21 22:21:03 +00:00
parent a0230f752a
commit fb0b6ed89e
3 changed files with 13 additions and 6 deletions
+2 -2
View File
@@ -63,9 +63,9 @@ void CourseContentsList::SetFromCourse( Course* pCourse )
if( ci[i].Random )
{
Difficulty dc = pCourse->GetDifficulty(i);
Difficulty dc = pCourse->GetDifficulty( ci[i] );
int iMeterLow, iMeterHigh;
pCourse->GetMeterRange(i, iMeterLow, iMeterHigh);
pCourse->GetMeterRange(ci[i], iMeterLow, iMeterHigh);
if( dc == DIFFICULTY_INVALID )
display.LoadFromMeterRange( m_iNumContents+1, iMeterLow, iMeterHigh, ci[i].Modifiers );