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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user