From f738ec77b9a1c4d89ffb7bc707285fbed1e75404 Mon Sep 17 00:00:00 2001 From: ZimM Date: Sat, 28 Feb 2015 05:44:46 +0200 Subject: [PATCH] brought back string equality comparison in Skin.AttachmentKeyTupleComparer --- spine-csharp/src/Skin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-csharp/src/Skin.cs b/spine-csharp/src/Skin.cs index e7f8d8c06..2c69f0f78 100644 --- a/spine-csharp/src/Skin.cs +++ b/spine-csharp/src/Skin.cs @@ -90,7 +90,7 @@ namespace Spine { internal static readonly AttachmentKeyTupleComparer Instance = new AttachmentKeyTupleComparer(); bool IEqualityComparer.Equals (AttachmentKeyTuple o1, AttachmentKeyTuple o2) { - return o1.SlotIndex == o2.SlotIndex && o1.NameHashCode == o2.NameHashCode; + return o1.SlotIndex == o2.SlotIndex && o1.NameHashCode == o2.NameHashCode && o1.Name == o2.Name; } int IEqualityComparer.GetHashCode (AttachmentKeyTuple o) {