mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:02:55 +08:00
Rename variable as suggested
This commit is contained in:
parent
6113557acc
commit
7109c3b6cd
@ -67,7 +67,7 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
private readonly double accuracyPortion;
|
private readonly double accuracyPortion;
|
||||||
private readonly double comboPortion;
|
private readonly double comboPortion;
|
||||||
|
|
||||||
private int maxHighestCombo;
|
private int maxAchievableCombo;
|
||||||
private double maxBaseScore;
|
private double maxBaseScore;
|
||||||
private double rollingMaxBaseScore;
|
private double rollingMaxBaseScore;
|
||||||
private double baseScore;
|
private double baseScore;
|
||||||
@ -195,9 +195,9 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
|
|
||||||
private double getScore(ScoringMode mode)
|
private double getScore(ScoringMode mode)
|
||||||
{
|
{
|
||||||
return GetScore(mode, maxHighestCombo,
|
return GetScore(mode, maxAchievableCombo,
|
||||||
maxBaseScore > 0 ? baseScore / maxBaseScore : 0,
|
maxBaseScore > 0 ? baseScore / maxBaseScore : 0,
|
||||||
maxHighestCombo > 0 ? (double)HighestCombo.Value / maxHighestCombo : 1,
|
maxAchievableCombo > 0 ? (double)HighestCombo.Value / maxAchievableCombo : 1,
|
||||||
scoreResultCounts);
|
scoreResultCounts);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -265,7 +265,7 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
|
|
||||||
if (storeResults)
|
if (storeResults)
|
||||||
{
|
{
|
||||||
maxHighestCombo = HighestCombo.Value;
|
maxAchievableCombo = HighestCombo.Value;
|
||||||
maxBaseScore = baseScore;
|
maxBaseScore = baseScore;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user