ignore empty commands
This commit is contained in:
@@ -665,6 +665,9 @@ void Actor::Command( CString sCommandString )
|
|||||||
CString& sName = asTokens[0];
|
CString& sName = asTokens[0];
|
||||||
sName.MakeLower();
|
sName.MakeLower();
|
||||||
|
|
||||||
|
if( sName.size() == 0 )
|
||||||
|
continue;
|
||||||
|
|
||||||
// Commands that go in the tweening queue:
|
// Commands that go in the tweening queue:
|
||||||
if ( sName=="sleep" ) BeginTweening( fParam(1), TWEEN_LINEAR );
|
if ( sName=="sleep" ) BeginTweening( fParam(1), TWEEN_LINEAR );
|
||||||
else if( sName=="linear" ) BeginTweening( fParam(1), TWEEN_LINEAR );
|
else if( sName=="linear" ) BeginTweening( fParam(1), TWEEN_LINEAR );
|
||||||
|
|||||||
Reference in New Issue
Block a user