From 8b72c8d823bac541de8b5bcebe2fa6661c02d0d4 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 16:57:50 +0000 Subject: [PATCH] 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. --- Source/UI/AdventureGuide/UIAdventureGuide.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/UI/AdventureGuide/UIAdventureGuide.cpp b/Source/UI/AdventureGuide/UIAdventureGuide.cpp index e10381ff..b90f051e 100644 --- a/Source/UI/AdventureGuide/UIAdventureGuide.cpp +++ b/Source/UI/AdventureGuide/UIAdventureGuide.cpp @@ -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); } }