updated scrolling text and icons to handle inexistant unlocks

This commit is contained in:
Andrew Wong
2003-07-17 12:14:19 +00:00
parent 14605f01c0
commit f34e626b66
4 changed files with 29 additions and 7 deletions
+10
View File
@@ -1078,3 +1078,13 @@ Song *SongManager::FindSong( CString sGroup, CString sSong )
return NULL;
}
Course *SongManager::FindCourse( CString sName )
{
for( unsigned i = 0; i < m_pCourses.size(); i++ )
{
if( sName.CompareNoCase(m_pCourses[i]->m_sName) )
return m_pCourses[i];
}
return NULL;
}