From c342403abbef03bbdfc7224fab05257083d446fe Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 8 May 2003 22:07:24 +0000 Subject: [PATCH] ignore empty commands --- stepmania/src/Actor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 16b7384cc7..e2da5303d8 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -665,6 +665,9 @@ void Actor::Command( CString sCommandString ) CString& sName = asTokens[0]; sName.MakeLower(); + if( sName.size() == 0 ) + continue; + // Commands that go in the tweening queue: if ( sName=="sleep" ) BeginTweening( fParam(1), TWEEN_LINEAR ); else if( sName=="linear" ) BeginTweening( fParam(1), TWEEN_LINEAR );