remove GetCommandsLengthSeconds

This commit is contained in:
Glenn Maynard
2006-08-01 20:32:16 +00:00
parent cea07f5e2c
commit a3ffee63b6
2 changed files with 0 additions and 11 deletions
-8
View File
@@ -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;
-3
View File
@@ -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
//