Lots of code expects NoteData::CopyRange to be [x,y]; this fixes editor
and gameplay bugs. I'd suggest that transforms should also take [x,y], not [x,y), for consistency.
This commit is contained in:
@@ -86,7 +86,7 @@ void NoteData::CopyRange( NoteData* pFrom, int iFromIndexBegin, int iFromIndexEn
|
||||
// copy recorded TapNotes
|
||||
int f = iFromIndexBegin, t = iToIndexBegin;
|
||||
|
||||
while( f<iFromIndexEnd )
|
||||
while( f<=iFromIndexEnd )
|
||||
{
|
||||
for( int c=0; c<m_iNumTracks; c++ )
|
||||
SetTapNote(c, t, pFrom->GetTapNote(c, f));
|
||||
|
||||
Reference in New Issue
Block a user