From 93b19e21f139af71c2d111900173dcc953745cf0 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 27 Jul 2005 20:57:52 +0000 Subject: [PATCH] make xml parse errors non fatal --- stepmania/src/ActorUtil.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index a8f195f776..3f88fcd116 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -331,7 +331,10 @@ Actor* ActorUtil::MakeActor( const RageTextureID &ID ) { XNode xml; if( !xml.LoadFromFile(sXml) ) - RageException::Throw( ssprintf("Error loading %s", sXml.c_str()) ); + { + // XNode will warn about the error + return new Sprite; + } return LoadFromActorFile( sDir, &xml ); } else