From 78c96b7cad5b180910a519e038b594e2cae824e5 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Thu, 4 Dec 2003 07:47:23 +0000 Subject: [PATCH] add logging to find out why we hit strange NoteType assert when writing a DWI --- stepmania/src/NotesWriterDWI.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/NotesWriterDWI.cpp b/stepmania/src/NotesWriterDWI.cpp index 518b56476c..ebbb539e6d 100644 --- a/stepmania/src/NotesWriterDWI.cpp +++ b/stepmania/src/NotesWriterDWI.cpp @@ -214,9 +214,6 @@ void NotesWriterDWI::WriteDWINotesField( FILE* fp, const Steps &out, int start ) fprintf( fp, "{" ); fCurrentIncrementer = 1.0/64 * BEATS_PER_MEASURE; break; - default: - ASSERT(0); - // fall though case NOTE_TYPE_48TH: case NOTE_TYPE_192ND: case NOTE_TYPE_INVALID: @@ -225,6 +222,9 @@ void NotesWriterDWI::WriteDWINotesField( FILE* fp, const Steps &out, int start ) fprintf( fp, "`" ); fCurrentIncrementer = 1.0/192 * BEATS_PER_MEASURE; break; + default: + RAGE_ASSERT_M(0, ssprintf("nt = %d",nt) ); + break; } double fFirstBeatInMeasure = m * BEATS_PER_MEASURE;