Merge branch 'RadarSubscript' of https://github.com/kyzentun/stepmania
This commit is contained in:
@@ -332,7 +332,9 @@ int PlayerStageStats::GetLessonScoreNeeded() const
|
||||
float fScore = 0;
|
||||
|
||||
FOREACH_CONST( Steps*, m_vpPossibleSteps, steps )
|
||||
fScore += (*steps)->GetRadarValues( PLAYER_1 ).m_Values.v.fNumTapsAndHolds;
|
||||
{
|
||||
fScore += (*steps)->GetRadarValues(PLAYER_1)[RadarCategory_TapsAndHolds];
|
||||
}
|
||||
|
||||
return lrintf( fScore * LESSON_PASS_THRESHOLD );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user