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:
parent
03cdb77670
commit
9972f1592d
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue