1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:23:22 +08:00

Remove always-false condition

This commit is contained in:
smoogipoo 2020-03-11 18:39:47 +09:00
parent f8e7579f45
commit 919410c627

View File

@ -100,9 +100,6 @@ namespace osu.Game.Rulesets.Catch.Beatmaps
private static void applyHardRockOffset(CatchHitObject hitObject, ref float? lastPosition, ref double lastStartTime, FastRandom rng) private static void applyHardRockOffset(CatchHitObject hitObject, ref float? lastPosition, ref double lastStartTime, FastRandom rng)
{ {
if (!(hitObject is Fruit))
return;
float offsetPosition = hitObject.X; float offsetPosition = hitObject.X;
double startTime = hitObject.StartTime; double startTime = hitObject.StartTime;