Redo Glenn's changes I just wiped out.

This commit is contained in:
Chris Danford
2003-01-21 23:07:22 +00:00
parent aa97c73f7a
commit b92f9ef290
6 changed files with 14 additions and 21 deletions
+10
View File
@@ -30,6 +30,16 @@ void SMLoader::LoadFromSMTokens(
out.m_NotesType = GameManager::StringToNotesType(sNotesType);
out.SetDescription(sDescription);
out.SetDifficulty(StringToDifficulty( sDifficulty ));
// HACK: We used to store SMANIAC as DIFFICULTY_HARD with special description.
// Now, it has it's own DIFFICULTY_CHALLENGE
if( sDescription.CompareNoCase("smaniac") == 0 )
out.SetDifficulty( DIFFICULTY_CHALLENGE );
// HACK: We used to store CHALLENGE as DIFFICULTY_HARD with special description.
// Now, it has it's own DIFFICULTY_CHALLENGE
if( sDescription.CompareNoCase("challenge") == 0 )
out.SetDifficulty( DIFFICULTY_CHALLENGE );
out.SetMeter(atoi(sMeter));
CStringArray saValues;
split( sRadarValues, ",", saValues, true );