mirror of
https://github.com/ppy/osu
synced 2024-12-25 08:12:41 +00:00
Use key offsets instead of cast
This commit is contained in:
parent
8e63c17536
commit
12a1889fac
@ -38,11 +38,11 @@ namespace osu.Game.Rulesets.Mania.Replays
|
||||
switch (point)
|
||||
{
|
||||
case HitPoint:
|
||||
actions.Add((ManiaAction)point.Column);
|
||||
actions.Add(ManiaAction.Key1 + point.Column);
|
||||
break;
|
||||
|
||||
case ReleasePoint:
|
||||
actions.Remove((ManiaAction)point.Column);
|
||||
actions.Remove(ManiaAction.Key1 + point.Column);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user