mirror of
https://github.com/ppy/osu.git
synced 2025-02-23 03:03:16 +08:00
Rename buzz variable per review
This commit is contained in:
parent
d4ce712672
commit
340e081965
@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.Catch.Difficulty.Skills
|
|||||||
private float lastDistanceMoved;
|
private float lastDistanceMoved;
|
||||||
private float lastExactDistanceMoved;
|
private float lastExactDistanceMoved;
|
||||||
private double lastStrainTime;
|
private double lastStrainTime;
|
||||||
private bool isBuzzSliderTriggered;
|
private bool isInBuzzSection;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The speed multiplier applied to the player's catcher.
|
/// The speed multiplier applied to the player's catcher.
|
||||||
@ -107,14 +107,14 @@ namespace osu.Game.Rulesets.Catch.Difficulty.Skills
|
|||||||
// To achieve that, we need to store the exact distances (distance ignoring absolute_player_positioning_error and normalized_hitobject_radius)
|
// To achieve that, we need to store the exact distances (distance ignoring absolute_player_positioning_error and normalized_hitobject_radius)
|
||||||
if (Math.Abs(exactDistanceMoved) <= HalfCatcherWidth * 2 && exactDistanceMoved == -lastExactDistanceMoved && catchCurrent.StrainTime == lastStrainTime)
|
if (Math.Abs(exactDistanceMoved) <= HalfCatcherWidth * 2 && exactDistanceMoved == -lastExactDistanceMoved && catchCurrent.StrainTime == lastStrainTime)
|
||||||
{
|
{
|
||||||
if (isBuzzSliderTriggered)
|
if (isInBuzzSection)
|
||||||
distanceAddition = 0;
|
distanceAddition = 0;
|
||||||
else
|
else
|
||||||
isBuzzSliderTriggered = true;
|
isInBuzzSection = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
isBuzzSliderTriggered = false;
|
isInBuzzSection = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
lastPlayerPosition = playerPosition;
|
lastPlayerPosition = playerPosition;
|
||||||
|
Loading…
Reference in New Issue
Block a user