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 #region Inequality
public static bool operator !=(CurveKey a, CurveKey b) public static bool operator !=(CurveKey a, CurveKey b)
{ {
bool isAnull = a == null; return !a.Equals(b);
bool isBnull = b == null;
if (isAnull ||
isBnull)
{
return isAnull != isBnull;
}
return a.Position != b.Position || return a.Position != b.Position ||
a.Value != b.Value || a.Value != b.Value ||