mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:05:34 +08:00
Use direct cast
This commit is contained in:
parent
dd6351b8ca
commit
4c817b18b7
@ -283,8 +283,8 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
if (drawable is HitErrorDisplay)
|
||||
{
|
||||
processor.NewJudgement += (drawable as HitErrorDisplay).OnNewJudgement;
|
||||
(drawable as HitErrorDisplay).HitWindows = hitWindows;
|
||||
processor.NewJudgement += ((HitErrorDisplay)drawable).OnNewJudgement;
|
||||
((HitErrorDisplay)drawable).HitWindows = hitWindows;
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user