Decompile 2 functions in Source/UI/AdventureGuide/UIAdventureGuide.cpp

Batch #13442 by SapitoSucio: 2 byte-identical, 0 confirmed by peer review.

- fn_14309 AdventureGuide::CUIItem::RequestNavigation: byte-identical
- fn_14310 AdventureGuide::CUIQuest::RequestNavigation: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-06 16:57:50 +00:00
commit 8b72c8d823

View file

@ -2061,10 +2061,10 @@ void CUIItem::RequestNavigation() {
y = std::atoi(parts[2].c_str());
}
if (x != -1 && y != -1) {
g_navigationManager.StartNavigation(name, 0, 5, false, x, y, 1002);
} else {
if (x == -1 || y == -1) {
g_navigationManager.StartNavigation(name, 1, 5, false, -1, -1, 1002);
} else {
g_navigationManager.StartNavigation(name, 0, 5, false, x, y, 1002);
}
}
@ -2081,10 +2081,10 @@ void CUIQuest::RequestNavigation() {
y = std::atoi(parts[2].c_str());
}
if (x != -1 && y != -1) {
g_navigationManager.StartNavigation(name, 0, 5, false, x, y, 1002);
} else {
if (x == -1 || y == -1) {
g_navigationManager.StartNavigation(name, 1, 5, false, -1, -1, 1002);
} else {
g_navigationManager.StartNavigation(name, 0, 5, false, x, y, 1002);
}
}