Tidying up (removal of commented code etc)
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user