background assert -> warning. This fired, but I can't repro it and the assert didn't give useful data.

This commit is contained in:
Chris Danford
2005-06-14 05:21:48 +00:00
parent ca3667576c
commit 2276b03c55
4 changed files with 61 additions and 29 deletions
+1 -1
View File
@@ -515,7 +515,7 @@ char* XNode::Load( const char* pszXml, PARSEINFO *pi /*= &piDefault*/ )
//========================================================
bool XAttr::GetXML( RageFileBasic &f, DISP_OPT *opt ) const
{
return f.Write(m_sName + "='" + (opt->reference_value&&opt->entitys?opt->entitys->Entity2Ref(m_sValue):m_sValue) + "' ") != -1;
return f.Write(m_sName + "='" + (opt && opt->reference_value && opt->entitys ? opt->entitys->Entity2Ref(m_sValue) : m_sValue) + "' ") != -1;
}
//========================================================