LoadFromNode -> LoadActorFromNode. This isn't a normal
LoadFromNode, which just loads state for an existing object. pass parent
This commit is contained in:
@@ -52,7 +52,7 @@ void MeterDisplay::LoadFromNode( const XNode* pNode )
|
||||
const XNode* pChild = pNode->GetChild( "Tip" );
|
||||
if( pChild != NULL )
|
||||
{
|
||||
m_sprTip.LoadFromNode( pChild );
|
||||
m_sprTip.LoadActorFromNode( pChild, this );
|
||||
this->AddChild( m_sprTip );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user