Bring light into the shadow...variables.

Yeah, yeah, can't make a good joke at 2:30 AM.
This commit is contained in:
Jason Felds
2011-03-14 02:36:48 -04:00
parent 650653b4d2
commit d855d8c7e8
18 changed files with 81 additions and 80 deletions
+6 -6
View File
@@ -669,21 +669,21 @@ namespace
continue;
}
RString sName;
LuaHelpers::Pop( L, sName );
NodeNamesToAdd.push_back( sName );
RString nName;
LuaHelpers::Pop( L, nName );
NodeNamesToAdd.push_back( nName );
NodesToAdd.push_back( LuaReference() );
NodesToAdd.back().SetFromStack( L );
continue;
}
RString sName;
LuaHelpers::Pop( L, sName );
RString nName;
LuaHelpers::Pop( L, nName );
// Otherwise, add an attribute.
XNodeLuaValue *pValue = new XNodeLuaValue;
pValue->SetValueFromStack( L );
pNode->AppendAttrFrom( sName, pValue );
pNode->AppendAttrFrom( nName, pValue );
}
lua_pop( L, 1 );