fix NoteDataUtil::RemoveHoldNotes removes rolls

This commit is contained in:
Glenn Maynard
2005-04-25 09:15:43 +00:00
parent 9a9f67eff0
commit 101cc2f8c7
+2 -1
View File
@@ -626,7 +626,8 @@ void NoteDataUtil::RemoveHoldNotes( NoteData &in, int iStartIndex, int iEndIndex
in.GetTapNoteRangeInclusive( t, iStartIndex, iEndIndex, begin, end );
for( ; begin != end; ++begin )
{
if( begin->second.type != TapNote::hold_head )
if( begin->second.type != TapNote::hold_head ||
begin->second.subType != TapNote::hold_head_hold )
continue;
begin->second.type = TapNote::tap;
}