forked from mirror/DotRecast
change index -> ptr
This commit is contained in:
parent
b26847d90f
commit
f0eb976ba0
|
@ -47,12 +47,12 @@ namespace DotRecast.Detour
|
||||||
if (0 != compare)
|
if (0 != compare)
|
||||||
return compare;
|
return compare;
|
||||||
|
|
||||||
return a.index.CompareTo(b.index);
|
return a.ptr.CompareTo(b.ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
return $"Node [index={index} id={id} cost={cost} total={total}]";
|
return $"Node [ptr={ptr} id={id} cost={cost} total={total}]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue