diff --git a/stepmania/src/NoteData.cpp b/stepmania/src/NoteData.cpp index b78448ec32..35f1fcabdf 100644 --- a/stepmania/src/NoteData.cpp +++ b/stepmania/src/NoteData.cpp @@ -45,6 +45,11 @@ void NoteData::ClearRangeForTrack( int rowBegin, int rowEnd, int iTrack ) return; } + /* If the range is empty, don't do anything. Otherwise, an empty range will cause + * hold notes to be split when they shouldn't be. */ + if( rowBegin == rowEnd ) + return; + iterator begin, end; GetTapNoteRangeInclusive( iTrack, rowBegin, rowEnd, begin, end );