ActorScroller doesn't SetDestinationItem anymore, but we still want this here and not in ActorScroller.

This commit is contained in:
Glenn Maynard
2005-09-27 07:40:34 +00:00
parent 4ae883a5c6
commit 384e26cbec
+3 -2
View File
@@ -77,8 +77,9 @@ public:
ActorScrollerAutoDeleteChildren() { DeleteChildrenWhenDone(true); }
void LoadFromNode( const CString& sDir, const XNode* pNode )
{
// Load children before ActorScroller::LoadFromNode or
// else it won't SetDestinationItem correctly.
// Load children. ActorScroller doesn't do this, because it
// can be a base class for other objects that don't want to load
// from <children>.
LoadChildrenFromNode( sDir, pNode );
ActorScroller::LoadFromNode( sDir, pNode );