From 99dcc25bd6cd86759bb8a286ee7ba08edc3756e0 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 08:09:36 +0000 Subject: [PATCH] Decompile fn_17875 (CPathFinder::FindOrCreateNode) Batch #15647 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_17875 CPathFinder::FindOrCreateNode: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/TerrainPathSearch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Contents/TerrainPathSearch.cpp b/Source/Contents/TerrainPathSearch.cpp index 0d360aaef..2c9d05b4b 100644 --- a/Source/Contents/TerrainPathSearch.cpp +++ b/Source/Contents/TerrainPathSearch.cpp @@ -120,7 +120,7 @@ PathNode* CPathFinder::FindOrCreateNode(int x, int y) { node->x = x; node->y = y; node->state = 0; - this->nodeMap[key] = node; + this->nodeMap[y * this->attr->width + x] = node; return node; }