curvekey != corrected

This commit is contained in:
SND\floAr_cp 2011-11-20 22:29:31 +00:00
parent a4f039fa4b
commit 3f3aa57192

View File

@ -159,13 +159,7 @@ namespace ANX.Framework
#region Inequality
public static bool operator !=(CurveKey a, CurveKey b)
{
bool isAnull = a == null;
bool isBnull = b == null;
if (isAnull ||
isBnull)
{
return isAnull != isBnull;
}
return !a.Equals(b);
return a.Position != b.Position ||
a.Value != b.Value ||