fix AAAA/AAA
This commit is contained in:
@@ -197,8 +197,20 @@ Grade StageStats::GetGrade( PlayerNumber pn ) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( PREFSMAN->m_bGradeTier02IsAllPerfects &&
|
LOG->Trace( "GetGrade: Grade: %s, %i", GradeToString(grade).c_str(), PREFSMAN->m_bGradeTier02IsAllPerfects );
|
||||||
iTapNoteScores[pn][TNS_PERFECT] > 0 &&
|
if( PREFSMAN->m_bGradeTier02IsAllPerfects )
|
||||||
|
{
|
||||||
|
if( iTapNoteScores[pn][TNS_MARVELOUS] > 0 &&
|
||||||
|
iTapNoteScores[pn][TNS_PERFECT] == 0 &&
|
||||||
|
iTapNoteScores[pn][TNS_GREAT] == 0 &&
|
||||||
|
iTapNoteScores[pn][TNS_GOOD] == 0 &&
|
||||||
|
iTapNoteScores[pn][TNS_BOO] == 0 &&
|
||||||
|
iTapNoteScores[pn][TNS_MISS] == 0 &&
|
||||||
|
iTapNoteScores[pn][TNS_HIT_MINE] == 0 &&
|
||||||
|
iHoldNoteScores[pn][HNS_NG] == 0 )
|
||||||
|
return GRADE_TIER_1;
|
||||||
|
|
||||||
|
if( iTapNoteScores[pn][TNS_PERFECT] > 0 &&
|
||||||
iTapNoteScores[pn][TNS_GREAT] == 0 &&
|
iTapNoteScores[pn][TNS_GREAT] == 0 &&
|
||||||
iTapNoteScores[pn][TNS_GOOD] == 0 &&
|
iTapNoteScores[pn][TNS_GOOD] == 0 &&
|
||||||
iTapNoteScores[pn][TNS_BOO] == 0 &&
|
iTapNoteScores[pn][TNS_BOO] == 0 &&
|
||||||
@@ -207,7 +219,8 @@ Grade StageStats::GetGrade( PlayerNumber pn ) const
|
|||||||
iHoldNoteScores[pn][HNS_NG] == 0 )
|
iHoldNoteScores[pn][HNS_NG] == 0 )
|
||||||
return GRADE_TIER_2;
|
return GRADE_TIER_2;
|
||||||
|
|
||||||
LOG->Trace( "GetGrade: Grade: %s", GradeToString(grade).c_str() );
|
return max( grade, GRADE_TIER_3 );
|
||||||
|
}
|
||||||
|
|
||||||
return grade;
|
return grade;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user