diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 683cec06a7..3e5fc1450c 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -1050,14 +1050,6 @@ void Actor::RunCommands( const LuaReference& cmds, Actor *pParent ) LUA->Release(L); } -float Actor::GetCommandsLengthSeconds( const LuaReference& cmds ) -{ - Actor temp; - temp.RunCommands(cmds); - - return temp.GetTweenTimeLeft(); -} - float Actor::GetTweenTimeLeft() const { float tot = 0; diff --git a/stepmania/src/Actor.h b/stepmania/src/Actor.h index 50312dd333..9cb9bac35b 100644 --- a/stepmania/src/Actor.h +++ b/stepmania/src/Actor.h @@ -341,9 +341,6 @@ public: // If we're a leaf, then execute this command. virtual void RunCommandsOnLeaves( const LuaReference& cmds, Actor *pParent = NULL ) { RunCommands(cmds,pParent); } - static float GetCommandsLengthSeconds( const LuaReference& cmds ); - static float GetCommandsLengthSeconds( const apActorCommands& cmds ) { return GetCommandsLengthSeconds( *cmds ); } // convenience - // // Messages //