Simplify a bit.

This commit is contained in:
Steve Checkoway
2008-07-23 11:12:07 +00:00
parent 073480ea6f
commit 148f4b57b8
+1 -1
View File
@@ -1089,7 +1089,7 @@ void SongManager::GetCoursesInGroup( vector<Course*> &AddTo, const RString &sCou
bool SongManager::GetExtraStageInfoFromCourse( bool bExtra2, RString sPreferredGroup, Song*& pSongOut, Steps*& pStepsOut )
{
const RString sCourseSuffix = sPreferredGroup + "/" + (bExtra2 ? "extra2" : "extra1") + ".crs";
const RString sCourseSuffix = sPreferredGroup + (bExtra2 ? "/extra2.crs" : "/extra1.crs");
RString sCoursePath = SONGS_DIR + sCourseSuffix;
/* Couldn't find course in DWI path or alternative song folders */