#BANNER tag for course files

This commit is contained in:
Glenn Maynard
2007-05-25 22:26:43 +00:00
parent 5a77e83b8a
commit 7226e5a962
10 changed files with 41 additions and 20 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ void Banner::LoadFromSongGroup( RString sSongGroup )
void Banner::LoadFromCourse( const Course *pCourse ) // NULL means no course
{
if( pCourse == NULL ) LoadFallback();
else if( pCourse->m_sBannerPath != "" ) Load( pCourse->m_sBannerPath );
else if( pCourse->GetBannerPath() != "" ) Load( pCourse->GetBannerPath() );
else LoadCourseFallback();
m_bScrolling = false;