1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 02:32:59 +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)
{
tinyDroplet.X += (float)rng.Next(-20, 20) / CatchPlayfield.BASE_WIDTH;
tinyDroplet.X += rng.Next(-20, 20) / CatchPlayfield.BASE_WIDTH;
}
else if (nested is Droplet)
{
@ -67,11 +67,7 @@ namespace osu.Game.Rulesets.Catch.Beatmaps
}
}
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>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.MathUtils;
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Rulesets.Catch.Objects