re-clamp the description when changing the difficulty

This commit is contained in:
Chris Danford
2005-04-13 08:45:00 +00:00
parent de2daa5410
commit 04715f4dd3
3 changed files with 11 additions and 12 deletions
+5 -2
View File
@@ -237,11 +237,14 @@ void BMSLoader::SearchForDifficulty( CString sTag, Steps *pOut )
/* Only match "Light" in parentheses. */
if( sTag.find( "(light" ) != sTag.npos )
{
pOut->SetDifficulty( DIFFICULTY_EASY );
}
else if( sTag.find( "another" ) != sTag.npos )
{
pOut->SetDifficulty( DIFFICULTY_HARD );
if( sTag.find( "(solo)" ) != sTag.npos )
}
else if( sTag.find( "(solo)" ) != sTag.npos )
{
pOut->SetDescription( "Solo" );
pOut->SetDifficulty( DIFFICULTY_EDIT );