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
This commit is contained in:
Glenn Maynard
2004-11-30 07:58:07 +00:00
parent c5a1874234
commit 4c72e16e18
+1 -1
View File
@@ -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;