generalize

This commit is contained in:
Glenn Maynard
2005-04-29 01:57:44 +00:00
parent 8df4f7929a
commit 4b8f18baae
+7 -1
View File
@@ -1908,8 +1908,14 @@ bool NoteDataUtil::AnyTapsAndHoldsInTrackRange( const NoteData& in, int iTrack,
// for each index we crossed since the last update:
FOREACH_NONEMPTY_ROW_IN_TRACK_RANGE( in, iTrack, r, iStart, iEnd )
{
if( in.GetTapNote( iTrack, r ).type != TapNote::empty )
switch( in.GetTapNote( iTrack, r ).type )
{
case TapNote::empty:
case TapNote::mine:
continue;
default:
return true;
}
}
if( in.IsHoldNoteAtBeat( iTrack, iEnd ) )