1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-05 23:32:56 +08:00

Fix InspectCode issues

This commit is contained in:
ekrctb 2018-05-25 19:18:11 +09:00
parent 26c6313dec
commit 456dc81f2f
2 changed files with 1 additions and 6 deletions

View File

@ -59,7 +59,7 @@ namespace osu.Game.Rulesets.Catch.Beatmaps
{ {
if (nested is TinyDroplet tinyDroplet) if (nested is TinyDroplet tinyDroplet)
{ {
tinyDroplet.X += (float)rng.Next(-20, 20) / CatchPlayfield.BASE_WIDTH; tinyDroplet.X += rng.Next(-20, 20) / CatchPlayfield.BASE_WIDTH;
} }
else if (nested is Droplet) else if (nested is Droplet)
{ {
@ -67,11 +67,7 @@ namespace osu.Game.Rulesets.Catch.Beatmaps
} }
} }
break; break;
case Fruit fruit:
break;
} }
var catchHitObject = obj as CatchHitObject;
} }
} }

View File

@ -1,7 +1,6 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.MathUtils;
using osu.Game.Rulesets.Objects.Types; using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Rulesets.Catch.Objects namespace osu.Game.Rulesets.Catch.Objects