Don't warn about MUSICBYTES.
This commit is contained in:
@@ -116,6 +116,9 @@ bool SMLoader::LoadFromSMFile( CString sPath, Song &out )
|
|||||||
else if( 0==stricmp(sValueName,"MUSICLENGTH") )
|
else if( 0==stricmp(sValueName,"MUSICLENGTH") )
|
||||||
out.m_fMusicLengthSeconds = (float)atof( sParams[1] );
|
out.m_fMusicLengthSeconds = (float)atof( sParams[1] );
|
||||||
|
|
||||||
|
else if( 0==stricmp(sValueName,"MUSICBYTES") )
|
||||||
|
; /* ignore */
|
||||||
|
|
||||||
/* We calculate these. Some SMs in circulation have bogus values for
|
/* We calculate these. Some SMs in circulation have bogus values for
|
||||||
* these, so make sure we always calculate it ourself. */
|
* these, so make sure we always calculate it ourself. */
|
||||||
else if( 0==stricmp(sValueName,"FIRSTBEAT") )
|
else if( 0==stricmp(sValueName,"FIRSTBEAT") )
|
||||||
|
|||||||
Reference in New Issue
Block a user