LuaHelpers::RunExpressionF
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user