From ce84697994addbed706c3abf34d1a8d36df8d858 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 29 Nov 2005 17:34:21 +0000 Subject: [PATCH] reuse ActorFrame --- stepmania/src/BGAnimationLayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/BGAnimationLayer.cpp b/stepmania/src/BGAnimationLayer.cpp index 5f1fecae57..57809d88ad 100644 --- a/stepmania/src/BGAnimationLayer.cpp +++ b/stepmania/src/BGAnimationLayer.cpp @@ -338,6 +338,8 @@ 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) != "/" ) @@ -400,8 +402,6 @@ 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 );