move XML loading and saving into XmlFileUtil
This commit is contained in:
@@ -774,7 +774,7 @@ void BackgroundImpl::Layer::UpdateCurBGChange( const Song *pSong, float fLastMus
|
||||
if( iter == m_BGAnimations.end() )
|
||||
{
|
||||
XNode *pNode = change.m_def.CreateNode();
|
||||
LOG->Warn( "Tried to switch to a background that was never loaded\n" + pNode->GetXML() );
|
||||
LOG->Warn( "Tried to switch to a background that was never loaded\n" + XmlFileUtil::GetXML(pNode) );
|
||||
SAFE_DELETE( pNode );
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user