diff --git a/stepmania/src/NoteData.cpp b/stepmania/src/NoteData.cpp index d59efd4d50..f19584660a 100644 --- a/stepmania/src/NoteData.cpp +++ b/stepmania/src/NoteData.cpp @@ -332,7 +332,7 @@ int NoteData::GetLastRow() const for( int t=0; t < GetNumTracks(); t++ ) { - int iRow = 999999999; + int iRow = MAX_NOTE_ROW; if( !GetPrevTapNoteRowForTrack( t, iRow ) ) continue; iOldestRowFoundSoFar = max( iOldestRowFoundSoFar, iRow ); @@ -349,9 +349,6 @@ int NoteData::GetLastRow() const int NoteData::GetNumTapNotes( int iStartIndex, int iEndIndex ) const { - if( iEndIndex == -1 ) - iEndIndex = 999999; - int iNumNotes = 0; for( int t=0; t