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).
This commit is contained in:
ragnarok-clanker 2026-11-12 15:29:25 +00:00
commit c8e7b7fc74

View file

@ -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;