pass parent

This commit is contained in:
Glenn Maynard
2006-10-14 04:42:06 +00:00
parent bc6fb8d7ed
commit cfed5e52bb
+1 -1
View File
@@ -455,7 +455,7 @@ void BGAnimationLayer::LoadFromNode( const XNode* pNode )
{
case TYPE_SPRITE:
{
Actor* pActor = ActorUtil::LoadFromNode( pNode );
Actor* pActor = ActorUtil::LoadFromNode( pNode, this );
this->AddChild( pActor );
if( bStretch )
pActor->StretchTo( FullScreenRectF );