From 85bcff073547f7c412686f8dfe21bd7ae0ebf79e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 13:24:11 +0000 Subject: [PATCH] Decompile fn_16117 (CUIListBoxEx::OnCreate) Batch #16855 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_16117 CUIListBoxEx::OnCreate: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, br4yan Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/ProbabilityTable/UIProbabilityTable.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/UI/ProbabilityTable/UIProbabilityTable.cpp b/Source/UI/ProbabilityTable/UIProbabilityTable.cpp index 732c31f71..131540639 100644 --- a/Source/UI/ProbabilityTable/UIProbabilityTable.cpp +++ b/Source/UI/ProbabilityTable/UIProbabilityTable.cpp @@ -187,7 +187,8 @@ template <> void CUIListBoxEx::OnCreate(int width, int height) { this->scrollBar = new CUIVScrollBar(); this->scrollBar->Show(0); - this->scrollBar->onChange = [this](int position) { this->OnScroll(position); }; + const std::function onChange = [this](int position) { this->OnScroll(position); }; + this->scrollBar->onChange = onChange; this->AddChild(this->scrollBar); }