Set the path when loading from an edit.

This commit is contained in:
Steve Checkoway
2006-03-04 10:23:50 +00:00
parent 0e4899d83b
commit 4bd0599906
+2
View File
@@ -354,6 +354,8 @@ bool CourseLoaderCRS::LoadEdit( const RString &sEditFilePath, ProfileSlot slot )
return false;
}
Course *pCourse = new Course;
pCourse->m_sPath = sEditFilePath;
LoadFromMsd( sEditFilePath, msd, *pCourse, true );
pCourse->m_LoadedFromProfile = slot;