Merge pull request #28 from wolfman2000/wolf-bg-files

Attempt preventative file not found crashing.
This commit is contained in:
Colby Klein
2014-02-08 18:55:37 -08:00
+4
View File
@@ -793,7 +793,11 @@ 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 )