diff --git a/stepmania/src/NoteDataUtil.cpp b/stepmania/src/NoteDataUtil.cpp index baffa30de4..8919be742e 100644 --- a/stepmania/src/NoteDataUtil.cpp +++ b/stepmania/src/NoteDataUtil.cpp @@ -795,12 +795,6 @@ void NoteDataUtil::Turn( NoteData &inout, StepsType st, TrackMapping tt, float f iStartIndex = max( iStartIndex, 0 ); iEndIndex = min( iEndIndex, inout.GetLastRow() ); - /* XXX: We could do this without an extra temporary NoteData: calculate - * a list of "swaps". For example, the 4-track mapping 1 0 2 3 is swaps - * 1, -1, -1, -1: track 0 swaps with track 1, track 1 doesn't swap (it's - * already in place--due to the first swap), and track 2 and 3 don't swap - * (they were already in place to begin with). */ - NoteData tempNoteData; tempNoteData.To4s( inout ); NoteData tempNoteDataOut; // write into here as we tranform @@ -823,6 +817,7 @@ void NoteDataUtil::Backwards( NoteData &inout ) int max_row = inout.GetLastRow(); for( int t=0; t