From 03c0f2f5e4e64ebbfb64b2234c107e22f645737a Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 19 Aug 2006 19:59:56 +0000 Subject: [PATCH] Handle lift. --- stepmania/src/NoteDataUtil.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/NoteDataUtil.cpp b/stepmania/src/NoteDataUtil.cpp index 41f1db0fe7..c8b598f96f 100644 --- a/stepmania/src/NoteDataUtil.cpp +++ b/stepmania/src/NoteDataUtil.cpp @@ -1068,9 +1068,9 @@ static void SuperShuffleTaps( NoteData &inout, int iStartIndex, int iEndIndex ) case TapNote::tap: case TapNote::mine: case TapNote::attack: + case TapNote::lift; break; // shuffle this - default: - ASSERT(0); + DEFAULT_FAIL( tn1.type ); } DEBUG_ASSERT_M( !inout.IsHoldNoteAtRow(t1,r), ssprintf("There is a tap.type = %d inside of a hold at row %d", tn1.type, r) ); @@ -1099,9 +1099,9 @@ static void SuperShuffleTaps( NoteData &inout, int iStartIndex, int iEndIndex ) case TapNote::tap: case TapNote::mine: case TapNote::attack: + case TapNote::lift; break; // ok to swap with this - default: - ASSERT(0); + DEFAULT_FAIL( tn2.type ); } // don't swap into the middle of a hold note