remove Command="%function" syntax from XML. Use Lua directly.

This commit is contained in:
Glenn Maynard
2007-02-10 23:47:39 +00:00
parent cb8e881099
commit 95fdd553de
+1 -6
View File
@@ -583,12 +583,7 @@ namespace
RString sExpression;
pValue->GetValue( sExpression );
if( EndsWith(sName, "Command") && sExpression.size() > 0 && sExpression[0] == '%' )
{
sExpression.erase( 0, 1 );
LuaHelpers::RunExpression( L, sExpression, sFile );
}
else if( EndsWith(sName, "Command") && (sExpression.size() == 0 || sExpression[0] != '%') )
if( EndsWith(sName, "Command") )
{
LuaHelpers::ParseCommandList( L, sExpression, sFile );
}