From 72b59c14052a4d262d77034718a10d558a7542d8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 15 Oct 2006 01:21:54 +0000 Subject: [PATCH] pass pParentActor --- stepmania/src/ActorUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index b40cd8d90f..7dfd45118b 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -401,7 +401,7 @@ Actor* ActorUtil::MakeActor( const RString &sPath_, Actor *pParentActor, const X XmlFileUtil::CompileXNodeTree( &xml, sPath ); AnnotateXMLTree( &xml, sPath ); MergeActorXML( &xml, pParent ); - return ActorUtil::LoadFromNode( &xml ); + return ActorUtil::LoadFromNode( &xml, pParentActor ); } case FT_Lua: { @@ -413,7 +413,7 @@ Actor* ActorUtil::MakeActor( const RString &sPath_, Actor *pParentActor, const X } MergeActorXML( pNode.get(), pParent ); - Actor *pRet = ActorUtil::LoadFromNode( pNode.get() ); + Actor *pRet = ActorUtil::LoadFromNode( pNode.get(), pParentActor ); return pRet; } case FT_Directory: