1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 21:01:01 +08:00

Merge pull request #1801 from smoogipoo/hitobject-constructor-safety

Fix DrawableHitCircle accepting a base OsuHitObject parameter
This commit is contained in:
Dean Herbert
2017-12-30 15:47:12 +09:00
committed by GitHub
Unverified
2 changed files with 2 additions and 2 deletions
@@ -20,7 +20,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
private readonly NumberPiece number;
private readonly GlowPiece glow;
public DrawableHitCircle(OsuHitObject h) : base(h)
public DrawableHitCircle(HitCircle h) : base(h)
{
Origin = Anchor.Centre;
@@ -94,7 +94,7 @@ namespace osu.Game.Rulesets.Osu.Tests
{
private readonly bool auto;
public TestDrawableHitCircle(OsuHitObject h, bool auto) : base(h)
public TestDrawableHitCircle(HitCircle h, bool auto) : base(h)
{
this.auto = auto;
}