mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 23:13:20 +08:00
Remove unused parameters in LegacyComboCounter
No longer used since 9bb8a43bce
.
This commit is contained in:
parent
1fa2bf5d69
commit
a94702b3ae
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user