Use bFailed , not bFailedEarlier. That way, you can't get a Failed grade

in FailOff (that's what FailOff means: you can't fail).  This also means you won't
get an F if you bottom out in TwoPlayerRecovery; that's OK.
This commit is contained in:
Glenn Maynard
2006-03-17 01:50:28 +00:00
parent 345a588e2d
commit 1fd4b7f05f
+1 -1
View File
@@ -137,7 +137,7 @@ Grade PlayerStageStats::GetGradeFromPercent( float fPercent )
Grade PlayerStageStats::GetGrade() const Grade PlayerStageStats::GetGrade() const
{ {
if( bFailedEarlier ) if( bFailed )
return Grade_Failed; return Grade_Failed;
/* XXX: This entire calculation should be in ScoreKeeper, but final evaluation /* XXX: This entire calculation should be in ScoreKeeper, but final evaluation