From f0eb976ba0f1a3c530b88f1a4d8b8c4bc538f815 Mon Sep 17 00:00:00 2001 From: ikpil Date: Fri, 9 Feb 2024 17:57:03 +0900 Subject: [PATCH] change index -> ptr --- src/DotRecast.Detour/DtNode.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DotRecast.Detour/DtNode.cs b/src/DotRecast.Detour/DtNode.cs index e899c10..c874c38 100644 --- a/src/DotRecast.Detour/DtNode.cs +++ b/src/DotRecast.Detour/DtNode.cs @@ -47,12 +47,12 @@ namespace DotRecast.Detour if (0 != compare) return compare; - return a.index.CompareTo(b.index); + return a.ptr.CompareTo(b.ptr); } public override string ToString() { - return $"Node [index={index} id={id} cost={cost} total={total}]"; + return $"Node [ptr={ptr} id={id} cost={cost} total={total}]"; } } } \ No newline at end of file