Add explanatory comments

This commit is contained in:
smoogipoo 2018-08-17 13:31:12 +09:00
parent 49f455e55d
commit 16d30f6756
2 changed files with 4 additions and 0 deletions

View File

@ -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)
{
// 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;
extraComboOffset += comboOffset;

View File

@ -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)
{
// 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;
extraComboOffset += comboOffset;