fix Type= specification in BGALayer

This commit is contained in:
Chris Danford
2005-01-08 02:05:31 +00:00
parent dc6e6f0d21
commit 86d66c6e23
+2 -1
View File
@@ -42,8 +42,9 @@ Actor* LoadFromActorFile( const CString& sAniDir, const XNode& layer )
{ {
Actor* pActor = NULL; // fill this in before we return 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; CString sType = layer.m_sName;
if( sType.empty() )
layer.GetAttrValue( "Type", sType ); layer.GetAttrValue( "Type", sType );
CString sFile; CString sFile;