From 9972f1592d3ea3dcd68512d18df741ba1471a233 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 09:56:33 +0000 Subject: [PATCH] Decompile 2 functions in Source/Contents/Navigation/NavigationLink.cpp Batch #17964 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_19447 CNavi_Link::FindLinkAt: logic confirmed by peer review - fn_19448 CNavi_Object::FindLinkAt: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, bibinir Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Navigation/NavigationLink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Contents/Navigation/NavigationLink.cpp b/Source/Contents/Navigation/NavigationLink.cpp index eb60ec61c..b3d9085ff 100644 --- a/Source/Contents/Navigation/NavigationLink.cpp +++ b/Source/Contents/Navigation/NavigationLink.cpp @@ -159,7 +159,7 @@ CNavi_Link* CNavi_Link::FindLinkAt(int x, int y) { for (std::vector::iterator it = this->links.begin(); it != this->links.end(); ++it) { NaviCell cell; NaviCell* found = it->link->GetCell(&cell); - if (found->x == x && found->y == y) { + if (x == found->x && y == found->y) { return it->link; } } @@ -173,7 +173,7 @@ CNavi_Link* CNavi_Object::FindLinkAt(int x, int y) { for (std::vector::iterator it = this->links.begin(); it != this->links.end(); ++it) { NaviCell cell; NaviCell* found = it->link->GetCell(&cell); - if (found->x == x && found->y == y) { + if (x == found->x && y == found->y) { return it->link; } }