The big NULL replacement party part 2.
This may take a bit. Trying to do this by operator/command.
This commit is contained in:
@@ -41,7 +41,7 @@ void PercentageDisplay::LoadFromNode( const XNode* pNode )
|
||||
}
|
||||
|
||||
const XNode *pChild = pNode->GetChild( "Percent" );
|
||||
if( pChild == NULL )
|
||||
if( pChild == nullptr )
|
||||
RageException::Throw( "%s: PercentageDisplay: missing the node \"Percent\"", ActorUtil::GetWhere(pNode).c_str() );
|
||||
m_textPercent.LoadFromNode( pChild );
|
||||
this->AddChild( &m_textPercent );
|
||||
|
||||
Reference in New Issue
Block a user