don't warn about sprite commands

This commit is contained in:
Glenn Maynard
2004-01-20 23:30:12 +00:00
parent ccd94bf4c5
commit fcd64dcf64
+4
View File
@@ -820,6 +820,10 @@ void Actor::HandleCommand( const ParsedCommand &command )
else if( sName=="clearzbuffer" ) SetClearZBuffer( bParam(1) );
else if( sName=="hidden" ) SetHidden( bParam(1) );
else if( sName=="playcommand" ) sParam(1); /* nop: only BGAnimation handles this but everyone receives it */
else if( sName=="customtexturerect" || sName=="texcoordvelocity" || sName=="scaletoclipped" ||
sName=="stretchtexcoords" || sName=="position" || sName=="loop" || sName=="play" ||
sName=="pause" || sName=="rate" )
; /* sprite commands */
else
{
CString sError = ssprintf( "Actor::HandleCommand: Unrecognized command name '%s'.", sName.c_str() );