From 86d66c6e23ef8e6e535783cee535fffbaa1eede3 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 8 Jan 2005 02:05:31 +0000 Subject: [PATCH] fix Type= specification in BGALayer --- stepmania/src/ActorUtil.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index 89fcfbd804..fcce4eddc5 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -42,9 +42,10 @@ Actor* LoadFromActorFile( const CString& sAniDir, const XNode& layer ) { Actor* pActor = NULL; // fill this in before we return + // Element name is the type in XML. + // Type= is the name in INI. CString sType = layer.m_sName; - if( sType.empty() ) - layer.GetAttrValue( "Type", sType ); + layer.GetAttrValue( "Type", sType ); CString sFile; layer.GetAttrValue( "File", sFile );