mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +08:00
Correct the comment from explosion to object
This commit is contained in:
parent
34c42aed89
commit
4c42d40314
@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
Vector2 originalPosition = drawable.Position;
|
Vector2 originalPosition = drawable.Position;
|
||||||
Vector2 appearOffset = new Vector2((float)Math.Cos(theta), (float)Math.Sin(theta)) * appearDistance;
|
Vector2 appearOffset = new Vector2((float)Math.Cos(theta), (float)Math.Sin(theta)) * appearDistance;
|
||||||
|
|
||||||
//the - 1 and + 1 prevents the hit explosion to appear in the wrong position.
|
//the - 1 and + 1 prevents the hit objects to appear in the wrong position.
|
||||||
double appearTime = hitObject.StartTime - hitObject.TimePreempt - 1;
|
double appearTime = hitObject.StartTime - hitObject.TimePreempt - 1;
|
||||||
double moveDuration = hitObject.TimePreempt + 1;
|
double moveDuration = hitObject.TimePreempt + 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user