Fix crash if there are two steps with Challenge difficulty

This commit is contained in:
Glenn Maynard
2003-09-02 20:25:00 +00:00
parent 028196e21d
commit 5e073dfc00
+1 -1
View File
@@ -796,7 +796,7 @@ void Song::TidyUpData()
{
Steps* pSteps = vSteps[k];
Difficulty dc2 = (Difficulty)(dc+1);
Difficulty dc2 = min( (Difficulty)(dc+1), DIFFICULTY_CHALLENGE );
pSteps->SetDifficulty( dc2 );
}
}