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:
Glenn Maynard
2003-08-18 17:21:18 +00:00
parent 6acf190929
commit c571885f86
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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));