Tidying up (removal of commented code etc)

This commit is contained in:
Joe
2015-05-15 16:50:59 +01:00
parent 3df07863f5
commit ba183e0db2
+2 -3
View File
@@ -895,9 +895,10 @@ void BMSChartReader::ReadHeaders()
{ {
// only set the difficulty if the #difficulty tag is between 1 and 6 (beginner~edit) // 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 int diff = StringToInt(it->second)-1; // BMS uses 1 to 6, SM uses 0 to 5
if(diff>=0 && diff<NUM_Difficulty) if(diff>=0 && diff<NUM_Difficulty) {
out->SetDifficulty( (Difficulty)diff ); out->SetDifficulty( (Difficulty)diff );
} }
}
else if (it->first == "#music") else if (it->first == "#music")
{ {
info.overrideMusicFile = it->second; info.overrideMusicFile = it->second;
@@ -1479,7 +1480,6 @@ void BMSSongLoader::AddToSong()
for( unsigned i = 0; i < loadedSteps.size(); i ++ ) for( unsigned i = 0; i < loadedSteps.size(); i ++ )
{ {
Steps *steps = loadedSteps[i].steps; Steps *steps = loadedSteps[i].steps;
//steps->SetDifficulty( Difficulty_Medium );
RString title = loadedSteps[i].info.title; RString title = loadedSteps[i].info.title;
@@ -1494,7 +1494,6 @@ void BMSSongLoader::AddToSong()
for( unsigned i = 0; i < loadedSteps.size(); i ++ ) for( unsigned i = 0; i < loadedSteps.size(); i ++ )
{ {
Steps *steps = loadedSteps[i].steps; Steps *steps = loadedSteps[i].steps;
//steps->SetDifficulty( Difficulty_Medium );
RString title = loadedSteps[i].info.title; RString title = loadedSteps[i].info.title;