We shouldn't crash here, right? and... let's not crash if we still have hold tails.

This commit is contained in:
Charles Lohr
2005-02-07 18:55:09 +00:00
parent f8084888fe
commit 2d566a0c33
+3 -1
View File
@@ -372,12 +372,14 @@ bool NoteData::IsHoldNoteAtBeat( int iTrack, int iRow, int *pHeadRow ) const
case TapNote::attack:
return false;
//Some songs still have these for some reason.
case TapNote::hold_tail:
case TapNote::empty:
case TapNote::autoKeysound:
/* ignore */
continue;
default:
FAIL_M( ssprintf("%i", tn.type) );
LOG->Warn( "Found unknownnote type: %d. Ignoring note.", tn.type );
}
if( bFoundHead )