use Lua to execute commands

(needs cleanup)
This commit is contained in:
Chris Danford
2005-01-26 11:21:43 +00:00
parent 1f00c84293
commit 8555a6da45
60 changed files with 816 additions and 246 deletions
+5 -2
View File
@@ -175,8 +175,11 @@ void LuaManager::ResetState()
if( g_vRegisterActors )
{
FOREACH( RegisterActorFn, *g_vRegisterActors, fn )
(*fn)( L );
for( unsigned i=0; i<g_vRegisterActors->size(); i++ )
{
RegisterActorFn fn = (*g_vRegisterActors)[i];
fn( L );
}
}
}