diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index cbcf4c4c6c..0ab74aeb01 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -419,7 +419,7 @@ Actor* ActorUtil::MakeActor( const RString &sPath_, const XNode *pParent, Actor } case FT_Directory: { - XNode xml; + XNode xml( *pParent ); xml.AppendAttr( "AniDir", sPath ); return ActorUtil::Create( "BGAnimation", &xml, pParentActor );