naming cleanup: iNoteIndex -> row

This commit is contained in:
Chris Danford
2004-10-24 00:17:15 +00:00
parent 3ac1dba044
commit 584189a10c
7 changed files with 27 additions and 27 deletions
+3 -3
View File
@@ -1291,13 +1291,13 @@ void NoteDataUtil::SnapToNearestNoteType( NoteData &in, NoteType nt1, NoteType n
default: ASSERT( false ); return;
}
int iNoteIndexBegin = BeatToNoteRow( fBeginBeat );
int iNoteIndexEnd = BeatToNoteRow( fEndBeat );
int rowBegin = BeatToNoteRow( fBeginBeat );
int rowEnd = BeatToNoteRow( fEndBeat );
in.ConvertHoldNotesTo2sAnd3s();
// iterate over all TapNotes in the interval and snap them
for( int i=iNoteIndexBegin; i<=iNoteIndexEnd; i++ )
for( int i=rowBegin; i<=rowEnd; i++ )
{
int iOldIndex = i;
float fOldBeat = NoteRowToBeat( iOldIndex );