1
0
mirror of https://github.com/ppy/osu synced 2025-03-21 10:28:06 +00:00

Revert "Remove IsLayered from GetHasCode implementation"

This reverts commit 16ee6b5fc7.
This commit is contained in:
Dean Herbert 2022-03-23 20:15:13 +09:00
parent 999ddff3d4
commit 2ea9e5245c

View File

@ -505,7 +505,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
public override bool Equals(object? obj)
=> obj is LegacyHitSampleInfo other && Equals(other);
public override int GetHashCode() => HashCode.Combine(base.GetHashCode(), CustomSampleBank);
public override int GetHashCode() => HashCode.Combine(base.GetHashCode(), CustomSampleBank, IsLayered);
}
private class FileHitSampleInfo : LegacyHitSampleInfo, IEquatable<FileHitSampleInfo>