From aa749e13a42c537a057aeb6b5669e48015a8780e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 11:36:10 +0000 Subject: [PATCH] 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). --- Source/UI/Window/UIWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/UI/Window/UIWindow.cpp b/Source/UI/Window/UIWindow.cpp index c617877b1..31a025861 100644 --- a/Source/UI/Window/UIWindow.cpp +++ b/Source/UI/Window/UIWindow.cpp @@ -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;