Command/LuaManager: add legacy command parsing

Only enabled when compiling via CompileXNodeTree.
This commit is contained in:
Devin J. Pohly
2014-02-20 10:59:49 -05:00
parent c9ac7e7a53
commit a9d5931533
9 changed files with 41 additions and 15 deletions
+1 -1
View File
@@ -307,7 +307,7 @@ bool ActorUtil::GetAttrPath( const XNode *pNode, const RString &sName, RString &
apActorCommands ActorUtil::ParseActorCommands( const RString &sCommands, const RString &sName )
{
Lua *L = LUA->Get();
LuaHelpers::ParseCommandList( L, sCommands, sName );
LuaHelpers::ParseCommandList( L, sCommands, sName, false );
LuaReference *pRet = new LuaReference;
pRet->SetFromStack( L );
LUA->Release( L );