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).
This commit is contained in:
ragnarok-clanker 2026-11-12 09:56:33 +00:00
commit 9972f1592d

View file

@ -159,7 +159,7 @@ CNavi_Link* CNavi_Link::FindLinkAt(int x, int y) {
for (std::vector<NaviLink>::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<NaviLink>::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;
}
}