LuaHelpers::PrepareExpression is used for metric compatibility; don't use

when loading from XML.
This commit is contained in:
Glenn Maynard
2005-11-29 17:36:19 +00:00
parent ce84697994
commit f33504c73f
-6
View File
@@ -79,15 +79,9 @@ void ActorFrame::LoadFromNode( const CString& sDir, const XNode* pNode )
CString s;
if( pNode->GetAttrValue( "VanishX", s ) )
{
LuaHelpers::PrepareExpression( s );
m_fVanishX = LuaHelpers::RunExpressionF( s );
}
if( pNode->GetAttrValue( "VanishY", s ) )
{
LuaHelpers::PrepareExpression( s );
m_fVanishY = LuaHelpers::RunExpressionF( s );
}
m_bOverrideLighting = pNode->GetAttrValue( "Lighting", m_bLighting );
}