Decompile fn_11562 (UITextViewer::SendMsg)

Batch #14960 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_11562 UITextViewer::SendMsg: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, ntrl, codeplay
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-09 18:33:43 +00:00
commit a0bebeb802

View file

@ -341,7 +341,10 @@ int UITextViewer::SendMsg(UIWindow* sender, int message, std::intptr_t argument1
const int type = std::atoi(button->GetLine(3).c_str());
int policy = std::atoi(button->GetLine(4).c_str());
if (policy == -222) {
std::string name = type == 3 ? "$$DB " : "";
std::string name = "$$DB ";
if (type != 3) {
name = "";
}
name += map;
g_navigationManager.SearchNavigation(name, type, 0);
break;