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:
parent
32aca8041e
commit
8b72c8d823
1 changed files with 6 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue