From 174d612324d8b013d04eae9ada494e2efd49c378 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 11:28:44 +0000 Subject: [PATCH] Decompile fn_11715 (UIPayConfirmWnd::Configure) Batch #18065 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_11715 UIPayConfirmWnd::Configure: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, alisonrag, KWDev Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Dialogs/UIMessageBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Dialogs/UIMessageBox.cpp b/Source/UI/Dialogs/UIMessageBox.cpp index 670254393..97dab047f 100644 --- a/Source/UI/Dialogs/UIMessageBox.cpp +++ b/Source/UI/Dialogs/UIMessageBox.cpp @@ -1420,12 +1420,12 @@ void UIPayConfirmWnd::Configure(const std::string& text, int itemId) { this->viewer->SetBackgroundColor(0xFFFF00FF); auto accept = std::find_if(this->m_children.begin(), this->m_children.end(), [](UIWindow* child) { return child->geometry.id == 187; }); - if (accept != this->m_children.end()) { + if (this->m_children.end() != accept) { (*accept)->Move(0x59, 0x6D); } auto cancel = std::find_if(this->m_children.begin(), this->m_children.end(), [](UIWindow* child) { return child->geometry.id == 188; }); - if (cancel != this->m_children.end()) { + if (this->m_children.end() != cancel) { auto* button = static_cast(*cancel); button->SetBitmap("유저인터페이스\\basic_interface\\sys_close_off.bmp", 0, 0); button->SetBitmap("유저인터페이스\\basic_interface\\sys_close_on.bmp", 1, 0);