diff --git a/stepmania/src/NotesWriterDWI.cpp b/stepmania/src/NotesWriterDWI.cpp index 5fbae1c06b..b9dde204c9 100644 --- a/stepmania/src/NotesWriterDWI.cpp +++ b/stepmania/src/NotesWriterDWI.cpp @@ -88,7 +88,7 @@ void NotesWriterDWI::WriteDWINotesField( FILE* fp, const Notes &out, int start ) const int iLastMeasure = int( notedata.GetLastBeat()/BEATS_PER_MEASURE ); for( int m=0; m<=iLastMeasure; m++ ) // foreach measure { - NoteType nt = notedata.GetSmallestNoteTypeForMeasure( m ); + NoteType nt = NoteDataUtil::GetSmallestNoteTypeForMeasure( notedata, m ); double fCurrentIncrementer; switch( nt )