Decompile fn_15035 (CUIEquipmentPropertiesWnd::Slot15)

Batch #14633 by secret: 0 byte-identical, 1 confirmed by peer review.

- fn_15035 CUIEquipmentPropertiesWnd::Slot15: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, Tanke, codeplay
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-07 18:11:46 +00:00
commit 0910593ee1

View file

@ -554,7 +554,11 @@ void CUIEquipmentPropertiesWnd::Slot15(int width, int height) {
this->tabs = new CUITab();
this->tabs->SetSize(18, 265);
this->tabs->Move(3, 18);
this->tabs->SetOnChange([this](CUITabButton* button) { this->OnChangeTab(button); });
{
CUITab* tabs = this->tabs;
const std::function<void(CUITabButton*)> handler = [this](CUITabButton* button) { this->OnChangeTab(button); };
tabs->onChange = handler;
}
this->AddChild(this->tabs);
CUITabButton* allButton = new CUITabButton();