Fix: Pontless forced crash. We have steps which aren't null.

This commit is contained in:
Charles Lohr
2005-01-25 06:45:30 +00:00
parent ae2f55c7ac
commit 13e58fb541
+1 -1
View File
@@ -169,7 +169,7 @@ Steps *StepsID::ToSteps( const Song *p, bool bAllowNull, bool bUseCache ) const
ret = p->GetSteps( st, dc, -1, -1, "", 0, true );
}
if( !bAllowNull )
if( ( !bAllowNull ) && ( ret == NULL ) )
FAIL_M( ssprintf("%i, %i, \"%s\"", st, dc, sDescription.c_str()) );
if( bUseCache )