test whether the song required for an edit is present before copying it. Fixes "game said it copied N edits, but none of them are showing".

This commit is contained in:
Chris Danford
2006-03-27 20:17:05 +00:00
parent 9bee8d3b4a
commit 6efb162723
6 changed files with 46 additions and 28 deletions
+2 -2
View File
@@ -1395,7 +1395,7 @@ void SongManager::LoadAllFromProfileDir( const RString &sProfileDir, ProfileSlot
{
RString fn = vsFiles[i];
SMLoader::LoadEdit( fn, slot );
SMLoader::LoadEditFromFile( fn, slot, true );
}
}
@@ -1415,7 +1415,7 @@ void SongManager::LoadAllFromProfileDir( const RString &sProfileDir, ProfileSlot
{
RString fn = vsFiles[i];
CourseLoaderCRS::LoadEdit( fn, slot );
CourseLoaderCRS::LoadEditFromFile( fn, slot );
}
}
}