From c8e7b7fc74a19ecd160a5644706e95aeb907d4ec Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 15:29:25 +0000 Subject: [PATCH] Decompile fn_13058 (UIGuildHelperWnd::OnCreate) Batch #18533 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_13058 UIGuildHelperWnd::OnCreate: logic confirmed by peer review Peer-reviewed-by: kyoshi, bibinir Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Guild/UIGuildHelperWnd.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/UI/Guild/UIGuildHelperWnd.cpp b/Source/UI/Guild/UIGuildHelperWnd.cpp index b1ea6765c..2bfd1bf53 100644 --- a/Source/UI/Guild/UIGuildHelperWnd.cpp +++ b/Source/UI/Guild/UIGuildHelperWnd.cpp @@ -323,7 +323,11 @@ void UIGuildHelperWnd::OnCreate(int width, int height) { this->m_button->SetBitmap((prefix + names[i][1] + ".bmp").c_str(), 1, 0); this->m_button->SetBitmap((prefix + names[i][2] + ".bmp").c_str(), 2, 0); this->m_button->SetSize(this->m_button->BitmapWidth(), this->m_button->BitmapHeight()); - this->m_button->Move(i < 2 ? x : width - 52, height - 24); + if (i < 2) { + this->m_button->Move(x, height - 24); + } else { + this->m_button->Move(width - 52, height - 24); + } this->m_button->SetId(ids[i]); this->AddChild(this->m_button); x += 62;