fix BGAnimation doesn't load <children>

fix BGAnimation in Background leaks children
This commit is contained in:
Chris Danford
2005-03-01 16:59:29 +00:00
parent bcce4df6f7
commit 63868cee5e
6 changed files with 58 additions and 27 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ void BGAnimation::LoadFromNode( const CString& sDir, const XNode* pNode )
{
DEBUG_ASSERT( pNode->m_sName == "BGAnimation" );
ActorScroller::LoadFromNode( sDir, pNode );
ActorScrollerAutoDeleteChildren::LoadFromNode( sDir, pNode );
this->RunCommandsOnChildren( ActorCommands("PlayCommand,Init") );