Stopped the editor from crashing when attempting to save steps on Edit difficulty.

This commit is contained in:
Matt Denham
2004-02-21 04:45:48 +00:00
parent bb8d732a90
commit 8eb0d03a60
+6
View File
@@ -328,6 +328,12 @@ bool NotesWriterDWI::WriteDWINotesTag( RageFile &f, const Steps &out )
case DIFFICULTY_MEDIUM: f.Write( "ANOTHER:" ); break;
case DIFFICULTY_HARD: f.Write( "MANIAC:" ); break;
case DIFFICULTY_CHALLENGE: f.Write( "SMANIAC:" ); break;
// we crash if we try to write Edit steps,
// and DWI doesn't really support edit steps,
// either - so we'll just leave them out, okay?
// Besides, we're not checking for these (or Beginner,
// for that matter) in the loader.
case DIFFICULTY_EDIT: return false;
default: ASSERT(0); return false;
}