diff --git a/stepmania/src/BGAnimationLayer.cpp b/stepmania/src/BGAnimationLayer.cpp index 57809d88ad..8fc75df713 100644 --- a/stepmania/src/BGAnimationLayer.cpp +++ b/stepmania/src/BGAnimationLayer.cpp @@ -338,8 +338,6 @@ void BGAnimationLayer::LoadFromAniLayerFile( const CString& sPath ) void BGAnimationLayer::LoadFromNode( const CString& sDir, const XNode* pNode ) { - ActorFrame::LoadFromNode( sDir, pNode ); - CString sAniDir = sDir; if( sAniDir.Right(1) != "/" ) @@ -402,6 +400,9 @@ void BGAnimationLayer::LoadFromNode( const CString& sDir, const XNode* pNode ) } } + pNode->GetAttrValue( "FOV", m_fFOV ); + pNode->GetAttrValue( "Lighting", m_bLighting ); + pNode->GetAttrValue( "TexCoordVelocityX", m_fTexCoordVelocityX ); pNode->GetAttrValue( "TexCoordVelocityY", m_fTexCoordVelocityY ); pNode->GetAttrValue( "DrawCond", m_sDrawCond );