When loading course entries that specify a song, fill out the song group too.

This commit is contained in:
Steve Checkoway
2006-03-12 00:35:55 +00:00
parent cbd67ed683
commit 6a0106ef56
+2
View File
@@ -12,6 +12,7 @@
#include "BannerCache.h"
#include "RageFileManager.h"
#include "CourseWriterCRS.h"
#include "song.h"
const int MAX_EDIT_COURSE_SIZE_BYTES = 30*1024; // 30KB
@@ -185,6 +186,7 @@ bool CourseLoaderCRS::LoadFromMsd( const RString &sPath, const MsdFile &msd, Cou
sPath.c_str(), sSong.c_str());
continue; // skip this #SONG
}
new_entry.sSongGroup = new_entry.pSong->m_sGroupName;
}
new_entry.baseDifficulty = StringToDifficulty( sParams[2] );