From 065b9fde3aaca3c0dbfbb19dcd4e0e046691924f Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 18:00:19 +0000 Subject: [PATCH] Decompile fn_15035 (CUIEquipmentPropertiesWnd::OnCreate) Batch #18680 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_15035 CUIEquipmentPropertiesWnd::OnCreate: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, cremane, bibinir Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Items/UIEquipmentPropertiesWnd.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/UI/Items/UIEquipmentPropertiesWnd.cpp b/Source/UI/Items/UIEquipmentPropertiesWnd.cpp index fe18206bf..d208afe3f 100644 --- a/Source/UI/Items/UIEquipmentPropertiesWnd.cpp +++ b/Source/UI/Items/UIEquipmentPropertiesWnd.cpp @@ -359,8 +359,11 @@ void CUIEquipmentPropertiesWnd::OnCreate(int width, int height) { this->list->SetOnSelect([this](EquipmentPropertiesWnd::CUIItemEquipmentPropertiesLine* line, const std::string& text) { this->OnSelectLine(line, text); }); this->list->SetBinder([this](EquipmentPropertiesWnd::CUIItemEquipmentPropertiesLine* line, const std::string& text) { this->BindLine(line, text); }); this->list->SetImages("", "", "", ""); - this->list->itemX = 0; - this->list->itemY = 0; + { + auto* list = this->list; + list->itemX = 0; + list->itemY = 0; + } this->list->scrollBar->SetSize(13, 270); this->list->scrollBar->Move(265, 0); this->list->scrollBar->step = 18;