From 33fa6acb3a322430a1cb0b1c572bbe1be509248f Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 7 Jun 2005 09:44:38 +0000 Subject: [PATCH] warn, don't throw on an invalid Actor --- stepmania/src/ActorUtil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index 815d9593c7..7c5cf513a4 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -254,7 +254,8 @@ Actor* ActorUtil::LoadFromActorFile( const CString& sAniDir, const XNode* pNode { CString sError = ssprintf( "The actor file in '%s' is missing the File attribute or has an invalid Class \"%s\"", sAniDir.c_str(), sClass.c_str() ); - RageException::Throw( sError ); + Dialog::OK( sError ); + return NULL; } CString sNewPath = bIsAbsolutePath ? sFile : sAniDir+sFile;