From a1c40d7f7a7dfb7f1703839fcbec75a632a268a7 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 29 Mar 2004 21:08:59 +0000 Subject: [PATCH] don't put the difficulty in the description --- stepmania/src/NotesLoaderDWI.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/stepmania/src/NotesLoaderDWI.cpp b/stepmania/src/NotesLoaderDWI.cpp index e90eb18271..352afd1962 100644 --- a/stepmania/src/NotesLoaderDWI.cpp +++ b/stepmania/src/NotesLoaderDWI.cpp @@ -152,12 +152,9 @@ bool DWILoader::LoadFromDWITokens( } int iNumFeet = atoi(sNumFeet); - out.SetDescription(sDescription); + // out.SetDescription(sDescription); // Don't put garbage in the description. out.SetMeter(iNumFeet); - if( sDescription.CompareNoCase("basic")==0 ) out.SetDifficulty( DIFFICULTY_EASY ); - else if( sDescription.CompareNoCase("trick")==0 ) out.SetDifficulty( DIFFICULTY_MEDIUM ); - else if( sDescription.CompareNoCase("maniac")==0 ) out.SetDifficulty( DIFFICULTY_HARD ); - else if( sDescription.CompareNoCase("smaniac")==0 ) out.SetDifficulty( DIFFICULTY_CHALLENGE ); + out.SetDifficulty( StringToDifficulty(sDescription) ); NoteData newNoteData; newNoteData.SetNumTracks( g_mapDanceNoteToNoteDataColumn.size() );