fix BGAnimation doesn't load <children>
fix BGAnimation in Background leaks children
This commit is contained in:
@@ -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") );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user