From 4c72e16e18a417dcd385d272526bc8be8df84570 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 30 Nov 2004 07:58:07 +0000 Subject: [PATCH] RageException::Throw is for user errors, used for errors that are meaningful on their own ("file corrupt") and probably meaningful to the user; these should never indicate internal logic errors FAIL_M is like a failed assertion, and dumps a crashinfo --- stepmania/src/StepsUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/StepsUtil.cpp b/stepmania/src/StepsUtil.cpp index 941fa86a59..fc42f69d55 100644 --- a/stepmania/src/StepsUtil.cpp +++ b/stepmania/src/StepsUtil.cpp @@ -170,7 +170,7 @@ Steps *StepsID::ToSteps( const Song *p, bool bAllowNull, bool bUseCache ) const } if( !bAllowNull ) - RageException::Throw( "%i, %i, \"%s\"", st, dc, sDescription.c_str() ); + FAIL_M( ssprintf("%i, %i, \"%s\"", st, dc, sDescription.c_str()) ); if( bUseCache ) g_Cache[sas] = ret;