From 2d566a0c333468488d3ce1a3d588369250721da8 Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Mon, 7 Feb 2005 18:55:09 +0000 Subject: [PATCH] We shouldn't crash here, right? and... let's not crash if we still have hold tails. --- stepmania/src/NoteData.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/NoteData.cpp b/stepmania/src/NoteData.cpp index 035fdc0d1f..32d3319fa1 100644 --- a/stepmania/src/NoteData.cpp +++ b/stepmania/src/NoteData.cpp @@ -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 )