From 6a0106ef56962670863049dee60792f50ae11640 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 12 Mar 2006 00:35:55 +0000 Subject: [PATCH] When loading course entries that specify a song, fill out the song group too. --- stepmania/src/CourseLoaderCRS.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/CourseLoaderCRS.cpp b/stepmania/src/CourseLoaderCRS.cpp index 407f514b08..2f68826acf 100644 --- a/stepmania/src/CourseLoaderCRS.cpp +++ b/stepmania/src/CourseLoaderCRS.cpp @@ -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] );