mirror of https://github.com/ppy/osu
Add explanatory comments
This commit is contained in:
parent
49f455e55d
commit
16d30f6756
|
@ -60,6 +60,8 @@ protected override HitObject CreateSlider(Vector2 position, bool newCombo, int c
|
||||||
|
|
||||||
protected override HitObject CreateSpinner(Vector2 position, bool newCombo, int comboOffset, double endTime)
|
protected override HitObject CreateSpinner(Vector2 position, bool newCombo, int comboOffset, double endTime)
|
||||||
{
|
{
|
||||||
|
// Convert spinners don't create the new combo themselves, but force the next non-spinner hitobject to create a new combo
|
||||||
|
// Their combo offset is still added to that next hitobject's combo index
|
||||||
forceNewCombo |= FormatVersion <= 8 || newCombo;
|
forceNewCombo |= FormatVersion <= 8 || newCombo;
|
||||||
extraComboOffset += comboOffset;
|
extraComboOffset += comboOffset;
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,8 @@ protected override HitObject CreateSlider(Vector2 position, bool newCombo, int c
|
||||||
|
|
||||||
protected override HitObject CreateSpinner(Vector2 position, bool newCombo, int comboOffset, double endTime)
|
protected override HitObject CreateSpinner(Vector2 position, bool newCombo, int comboOffset, double endTime)
|
||||||
{
|
{
|
||||||
|
// Convert spinners don't create the new combo themselves, but force the next non-spinner hitobject to create a new combo
|
||||||
|
// Their combo offset is still added to that next hitobject's combo index
|
||||||
forceNewCombo |= FormatVersion <= 8 || newCombo;
|
forceNewCombo |= FormatVersion <= 8 || newCombo;
|
||||||
extraComboOffset += comboOffset;
|
extraComboOffset += comboOffset;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue