Check additional song folders for extra stage information.

This commit is contained in:
Steve Checkoway
2006-08-07 03:11:32 +00:00
parent 105973317b
commit 559e2c80fa
+4
View File
@@ -1099,8 +1099,12 @@ bool SongManager::GetExtraStageInfoFromCourse( bool bExtra2, RString sPreferredG
RString sCoursePath = SONGS_DIR + sCourseSuffix; RString sCoursePath = SONGS_DIR + sCourseSuffix;
/* Couldn't find course in DWI path or alternative song folders */ /* Couldn't find course in DWI path or alternative song folders */
if( !DoesFileExist(sCoursePath) )
{
sCoursePath = ADDITIONAL_SONGS_DIR + sCourseSuffix;
if( !DoesFileExist(sCoursePath) ) if( !DoesFileExist(sCoursePath) )
return false; return false;
}
Course course; Course course;
CourseLoaderCRS::LoadFromCRSFile( sCoursePath, course ); CourseLoaderCRS::LoadFromCRSFile( sCoursePath, course );