Have the XML parser warn about the error. Don't make every XML user have their own warning code.

This commit is contained in:
Chris Danford
2005-05-29 01:05:23 +00:00
parent 94a9cda191
commit ceef12b5cd
5 changed files with 32 additions and 29 deletions
+1 -4
View File
@@ -58,12 +58,9 @@ void Transition::Load( CString sBGAniDir )
{
CString sSoundFile;
XNode xml;
PARSEINFO pi;
xml.LoadFromFile( sBGAniDir, &pi );
xml.LoadFromFile( sBGAniDir );
if( xml.GetAttrValue( "Sound", sSoundFile ) )
{
m_sound.Load( Dirname(sBGAniDir) + sSoundFile );
}
}
}