log ignored loads due to cached !m_bHasMusic

This commit is contained in:
Glenn Maynard
2004-10-31 20:32:57 +00:00
parent 2046ab5261
commit ca02ee68d0
+5 -2
View File
@@ -282,9 +282,12 @@ bool Song::LoadFromSongDir( CString sDir )
AddAutoGenNotes();
if( !m_bHasMusic )
{
LOG->Trace( "Song \"%s\" ignored (no music)", sDir.c_str() );
return false; // don't load this song
else
return true; // do load this song
}
return true; // do load this song
}
static void GetImageDirListing( CString sPath, CStringArray &AddTo, bool bReturnPathToo=false )