Use key offsets instead of cast

This commit is contained in:
Dan Balasescu 2024-08-13 14:03:26 +09:00
parent 8e63c17536
commit 12a1889fac
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}