LuaHelpers::RunExpressionF

This commit is contained in:
Glenn Maynard
2005-06-16 06:30:33 +00:00
parent 6a8940d5a4
commit cb3f10aabb
6 changed files with 15 additions and 10 deletions
+2 -2
View File
@@ -53,12 +53,12 @@ void ActorFrame::LoadFromNode( const CString& sDir, const XNode* pNode )
if( pNode->GetAttrValue( "VanishX", s ) )
{
LUA->PrepareExpression( s );
m_fVanishX = LUA->RunExpressionF( s );
m_fVanishX = LuaHelpers::RunExpressionF( s );
}
if( pNode->GetAttrValue( "VanishY", s ) )
{
LUA->PrepareExpression( s );
m_fVanishY = LUA->RunExpressionF( s );
m_fVanishY = LuaHelpers::RunExpressionF( s );
}
m_bOverrideLighting = pNode->GetAttrValue( "Lighting", m_bLighting );
}