use course accessors

This commit is contained in:
Glenn Maynard
2002-12-17 05:09:36 +00:00
parent d5c2331ab7
commit 5afb4c7768
4 changed files with 7 additions and 10 deletions
+1 -2
View File
@@ -104,7 +104,7 @@ void CourseContentsFrame::SetFromCourse( Course* pCourse )
for( int i=0; i<min(pCourse->m_iStages, MAX_TOTAL_CONTENTS); i++ )
{
Song* pSong = pCourse->m_apSongs[i];
Song* pSong = pCourse->GetSong(i);
Notes* pNotes = pCourse->GetNotesForStage(i);
if( pNotes == NULL )
@@ -154,7 +154,6 @@ void CourseContentsFrame::DrawPrimitives()
m_quad.SetY( ((MAX_VISIBLE_CONTENTS-1)/2 + 1) * CONTENTS_BAR_HEIGHT );
m_quad.Draw();
int iItemToDraw = (int)m_fItemAtTopOfList;
// HACK: Insert a little pause as a new item appears on the screen