don't THEME->EvaluateString here; it's unnecessary and actually using it is slow

This commit is contained in:
Glenn Maynard
2005-10-29 03:30:16 +00:00
parent 034c7f4a41
commit 9f210adf3e
-4
View File
@@ -200,10 +200,6 @@ Actor* ActorUtil::LoadFromNode( const CString& sDir, const XNode* pNode )
CString s;
if( pChild->GetAttrValue( "Value", s ) )
{
/* XXX: don't RunAtExpressionS here; probably don't replace ::, either
* (use regular Lua escapes). */
THEME->EvaluateString( s );
Lua *L = LUA->Get();
LuaHelpers::RunScript( L, "return " + s, "", 1 );