From ba183e0db2381b6399fc96ff2b498c7bc629cb91 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 15 May 2015 16:50:59 +0100 Subject: [PATCH] Tidying up (removal of commented code etc) --- src/NotesLoaderBMS.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/NotesLoaderBMS.cpp b/src/NotesLoaderBMS.cpp index 0d1ecb8d73..8c0bfc7de0 100644 --- a/src/NotesLoaderBMS.cpp +++ b/src/NotesLoaderBMS.cpp @@ -893,10 +893,11 @@ void BMSChartReader::ReadHeaders() } else if( it->first == "#difficulty") { - // only set the difficulty if the #difficulty tag is between 1 and 6 (beginner~edit) - int diff = StringToInt(it->second)-1; // BMS uses 1 to 6, SM uses 0 to 5 - if(diff>=0 && diffSetDifficulty( (Difficulty)diff ); + // only set the difficulty if the #difficulty tag is between 1 and 6 (beginner~edit) + int diff = StringToInt(it->second)-1; // BMS uses 1 to 6, SM uses 0 to 5 + if(diff>=0 && diffSetDifficulty( (Difficulty)diff ); + } } else if (it->first == "#music") { @@ -1479,7 +1480,6 @@ void BMSSongLoader::AddToSong() for( unsigned i = 0; i < loadedSteps.size(); i ++ ) { Steps *steps = loadedSteps[i].steps; - //steps->SetDifficulty( Difficulty_Medium ); RString title = loadedSteps[i].info.title; @@ -1494,7 +1494,6 @@ void BMSSongLoader::AddToSong() for( unsigned i = 0; i < loadedSteps.size(); i ++ ) { Steps *steps = loadedSteps[i].steps; - //steps->SetDifficulty( Difficulty_Medium ); RString title = loadedSteps[i].info.title;