remove GetCommandsLengthSeconds
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user