#MUSICLENGTH is cache-only

This commit is contained in:
Glenn Maynard
2004-02-02 10:06:26 +00:00
parent 64e8edb165
commit ec971b1de1
2 changed files with 10 additions and 1 deletions
+7
View File
@@ -227,7 +227,14 @@ bool SMLoader::LoadFromSMFile( CString sPath, Song &out )
out.m_sMusicFile = sParams[1];
else if( 0==stricmp(sValueName,"MUSICLENGTH") )
{
if(!FromCache)
{
LOG->Trace("Ignored #MUSICLENGTH (cache only)");
continue;
}
out.m_fMusicLengthSeconds = (float)atof( sParams[1] );
}
else if( 0==stricmp(sValueName,"MUSICBYTES") )
; /* ignore */