ActorScroller doesn't SetDestinationItem anymore, but we still want this here and not in ActorScroller.
This commit is contained in:
@@ -77,8 +77,9 @@ public:
|
|||||||
ActorScrollerAutoDeleteChildren() { DeleteChildrenWhenDone(true); }
|
ActorScrollerAutoDeleteChildren() { DeleteChildrenWhenDone(true); }
|
||||||
void LoadFromNode( const CString& sDir, const XNode* pNode )
|
void LoadFromNode( const CString& sDir, const XNode* pNode )
|
||||||
{
|
{
|
||||||
// Load children before ActorScroller::LoadFromNode or
|
// Load children. ActorScroller doesn't do this, because it
|
||||||
// else it won't SetDestinationItem correctly.
|
// can be a base class for other objects that don't want to load
|
||||||
|
// from <children>.
|
||||||
LoadChildrenFromNode( sDir, pNode );
|
LoadChildrenFromNode( sDir, pNode );
|
||||||
|
|
||||||
ActorScroller::LoadFromNode( sDir, pNode );
|
ActorScroller::LoadFromNode( sDir, pNode );
|
||||||
|
|||||||
Reference in New Issue
Block a user