How long must we support this "hack"?
This commit is contained in:
@@ -667,6 +667,19 @@ bool SMLoader::LoadNoteDataFromSimfile( const RString &path, Steps &out )
|
|||||||
difficulty = "Challenge";
|
difficulty = "Challenge";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Handle hacks that originated back when StepMania didn't have
|
||||||
|
* Difficulty_Challenge. TODO: Remove the need for said hacks. */
|
||||||
|
if( difficulty.CompareNoCase("hard") == 0 )
|
||||||
|
{
|
||||||
|
/* HACK: Both SMANIAC and CHALLENGE used to be Difficulty_Hard.
|
||||||
|
* They were differentiated via aspecial description.
|
||||||
|
* Account for the rogue charts that do this. */
|
||||||
|
// HACK: SMANIAC used to be Difficulty_Hard with a special description.
|
||||||
|
if (description.CompareNoCase("smaniac") == 0 ||
|
||||||
|
description.CompareNoCase("challenge") == 0)
|
||||||
|
difficulty = "Challenge";
|
||||||
|
}
|
||||||
|
|
||||||
if(!(out.m_StepsType == GAMEMAN->StringToStepsType( stepsType ) &&
|
if(!(out.m_StepsType == GAMEMAN->StringToStepsType( stepsType ) &&
|
||||||
out.GetDescription() == description &&
|
out.GetDescription() == description &&
|
||||||
(out.GetDifficulty() == StringToDifficulty(difficulty) ||
|
(out.GetDifficulty() == StringToDifficulty(difficulty) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user