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
+3 -3
View File
@@ -522,12 +522,12 @@ bool SongManager::GetExtraStageInfoFromCourse( bool bExtra2, CString sPreferredG
course.LoadFromCRSFile( sCoursePath, m_pSongs );
if( course.m_iStages <= 0 ) return false;
pSongOut = course.m_apSongs[0];
pSongOut = course.GetSong(0);
pNotesOut = course.GetNotesForStage( 0 );
if( pNotesOut == NULL ) return false;
po_out.FromString( course.m_asModifiers[0] );
so_out.FromString( course.m_asModifiers[0] );
po_out.FromString( course.GetModifiers(0) );
so_out.FromString( course.GetModifiers(0) );
return true;
}