mirror of
https://github.com/ppy/osu.git
synced 2024-12-18 00:23:22 +08:00
c4a0ca326e
stable does not treat unknown enum members as `None` / `Auto`, it treats
them as `Normal`:
switch (sampleSet)
{
case SampleSet.Normal:
default:
sample = 0;
break;
case SampleSet.None:
case SampleSet.Soft:
sample = 1;
break;
case SampleSet.Drum:
sample = 2;
break;
}
(from
|
||
---|---|---|
.. | ||
Catch | ||
Mania | ||
Osu | ||
Taiko | ||
ConvertHitObject.cs | ||
ConvertHitObjectParser.cs | ||
ConvertSlider.cs |