Check additional song folders for extra stage information.
This commit is contained in:
@@ -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 );
|
||||||
|
|||||||
Reference in New Issue
Block a user