mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08:00
Apply suggested behaviour
This commit is contained in:
parent
68907fe1ba
commit
594ea4da5f
@ -103,13 +103,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
|
||||
float z;
|
||||
|
||||
if (time < hitObject.StartTime - decelerationTime)
|
||||
{
|
||||
double appearTime = hitObject.StartTime - hitObject.TimePreempt;
|
||||
float fullDistance = decelerationDistance + (float)(baseSpeed * (hitObject.TimePreempt - decelerationTime));
|
||||
z = fullDistance - (float)((Math.Max(time, appearTime) - appearTime) * baseSpeed);
|
||||
}
|
||||
else if (time < hitObject.StartTime)
|
||||
if (time < hitObject.StartTime)
|
||||
{
|
||||
double timeOffset = time - (hitObject.StartTime - decelerationTime);
|
||||
double deceleration = (slowSpeed - baseSpeed) / decelerationTime;
|
||||
|
Loading…
Reference in New Issue
Block a user