change index -> ptr

This commit is contained in:
ikpil 2024-02-09 17:57:03 +09:00 committed by Ikpil
parent b26847d90f
commit f0eb976ba0
1 changed files with 2 additions and 2 deletions

View File

@ -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}]";
} }
} }
} }