mirror of https://github.com/ppy/osu
Use key offsets instead of cast
This commit is contained in:
parent
8e63c17536
commit
12a1889fac
|
@ -38,11 +38,11 @@ protected override void GenerateFrames()
|
|||
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