From ce20ddda6c30f313ade297aaf2d1b354f4313d28 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Thu, 7 Apr 2005 19:38:01 +0000 Subject: [PATCH] fix "can lay taps on top of holds in record" --- stepmania/src/ScreenEdit.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index abd11d281b..6aacfd7ad6 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -1372,6 +1372,11 @@ void ScreenEdit::InputRecord( const DeviceInput& DeviceI, const InputEventType t if( iRow < 0 ) break; + // Remove hold if any so that we don't have taps inside of a hold. + int iHeadRow; + if( m_NoteDataRecord.IsHoldNoteAtBeat( iCol, iRow, &iHeadRow ) ) + m_NoteDataRecord.SetTapNote( iCol, iHeadRow, TAP_EMPTY ); + m_NoteDataRecord.SetTapNote(iCol, iRow, TAP_ORIGINAL_TAP); m_NoteFieldRecord.Step( iCol, TNS_MARVELOUS ); }