1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 19:32:55 +08:00

Remove unused parameters in LegacyComboCounter

No longer used since 9bb8a43bce.
This commit is contained in:
Bartłomiej Dach 2022-02-01 21:30:28 +01:00
parent 1fa2bf5d69
commit a94702b3ae
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -109,7 +109,7 @@ namespace osu.Game.Screens.Play.HUD
return; return;
if (isRolling) if (isRolling)
onDisplayedCountRolling(displayedCount, value); onDisplayedCountRolling(value);
else if (displayedCount + 1 == value) else if (displayedCount + 1 == value)
onDisplayedCountIncrement(value); onDisplayedCountIncrement(value);
else else
@ -151,7 +151,7 @@ namespace osu.Game.Screens.Play.HUD
if (prev + 1 == Current.Value) if (prev + 1 == Current.Value)
onCountIncrement(prev, Current.Value); onCountIncrement(prev, Current.Value);
else else
onCountChange(prev, Current.Value); onCountChange(Current.Value);
} }
else else
{ {
@ -226,7 +226,7 @@ namespace osu.Game.Screens.Play.HUD
transformRoll(currentValue, newValue); transformRoll(currentValue, newValue);
} }
private void onCountChange(int currentValue, int newValue) private void onCountChange(int newValue)
{ {
scheduledPopOutCurrentId++; scheduledPopOutCurrentId++;
@ -236,7 +236,7 @@ namespace osu.Game.Screens.Play.HUD
DisplayedCount = newValue; DisplayedCount = newValue;
} }
private void onDisplayedCountRolling(int currentValue, int newValue) private void onDisplayedCountRolling(int newValue)
{ {
if (newValue == 0) if (newValue == 0)
displayedCountSpriteText.FadeOut(fade_out_duration); displayedCountSpriteText.FadeOut(fade_out_duration);