Attempt preventative file not found crashing.

This commit is contained in:
Jason Felds
2014-02-04 21:10:40 -05:00
parent 73cf245d9a
commit c5637444ab
+4
View File
@@ -793,8 +793,12 @@ bool SMLoader::LoadFromBGChangesString( BackgroundChange &change, const RString
// fall through // fall through
} }
if (FILEMAN->DoesFileExist(change.m_def.m_sFile1))
{
return aBGChangeValues.size() >= 2; return aBGChangeValues.size() >= 2;
} }
return false;
}
bool SMLoader::LoadNoteDataFromSimfile( const RString &path, Steps &out ) bool SMLoader::LoadNoteDataFromSimfile( const RString &path, Steps &out )
{ {