use accessors

This commit is contained in:
Glenn Maynard
2002-12-17 05:29:50 +00:00
parent 417b8791e7
commit e851ce45e5
5 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ void CourseContentsFrame::SetFromCourse( Course* pCourse )
m_iNumContents = 0;
for( int i=0; i<min(pCourse->m_iStages, MAX_TOTAL_CONTENTS); i++ )
for( int i=0; i<min(pCourse->GetNumStages(), MAX_TOTAL_CONTENTS); i++ )
{
Song* pSong = pCourse->GetSong(i);
Notes* pNotes = pCourse->GetNotesForStage(i);