Decompile fn_03583 (UIPrivateAirplaneWnd::OnCreate)

Batch #18158 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_03583 UIPrivateAirplaneWnd::OnCreate: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, alisonrag, 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 11:36:10 +00:00
commit aa749e13a4

View file

@ -3534,8 +3534,7 @@ void UIPrivateAirplaneWnd::OnCreate(int, int) {
}
UIBasicButton* button = new UIBasicButton();
const std::string text = FormatOwnedString(LookupMessage(MSI_PRIVATE_AIRPLANE_FAILED_ISNOT_ENDABLE_MAP), name);
button->Configure(0xc0, text.c_str());
button->Configure(0xc0, FormatOwnedString(LookupMessage(MSI_PRIVATE_AIRPLANE_FAILED_ISNOT_ENDABLE_MAP), name).c_str());
button->Move(8, y);
button->SetId(500);
button->m_argument = itemId;