From 90f55ac9c25db4acbc582f0626e167370eff9c95 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 3 Sep 2005 07:19:00 +0000 Subject: [PATCH] Remove old hack. (This was added as a convenience back before actor commands were used as widely as they are now.) --- stepmania/src/Actor.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 814dd9ca3c..c4f95923d3 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -230,12 +230,7 @@ void Actor::LoadFromNode( const CString& sDir, const XNode* pNode ) THEME->EvaluateString( sValue ); apActorCommands apac( new ActorCommands( sValue ) ); - CString sCmdName; - /* Special case: "Command=foo" -> "OnCommand=foo" */ - if( sKeyName.size() == 7 ) - sCmdName="On"; - else - sCmdName = sKeyName.Left( sKeyName.size()-7 ); + CString sCmdName = sKeyName.Left( sKeyName.size()-7 ); AddCommand( sCmdName, apac ); } }