From 11417ea3c8abc37cb43dd3fa465ca6d4002a961d Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 17:42:48 +0000 Subject: [PATCH] Decompile fn_13540 (UIRoundBoxTooltipWnd::OnCreate) Batch #18670 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_13540 UIRoundBoxTooltipWnd::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/Text/UIRoundBoxTooltipWnd.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/UI/Text/UIRoundBoxTooltipWnd.cpp b/Source/UI/Text/UIRoundBoxTooltipWnd.cpp index 3ba9a8aaa..297181f15 100644 --- a/Source/UI/Text/UIRoundBoxTooltipWnd.cpp +++ b/Source/UI/Text/UIRoundBoxTooltipWnd.cpp @@ -36,8 +36,11 @@ void UIRoundBoxTooltipWnd::OnCreate(int width, int height) { unsigned blue; SkinPaletteChannels(ResourceMgr::Instance(), 1, 1, red, green, blue); - this->viewer->backgroundColor = 0xFFFF00FF; - this->viewer->Invalidate(); + { + auto* viewer = this->viewer; + viewer->backgroundColor = 0xFFFF00FF; + viewer->Invalidate(); + } this->viewer->color = 0x803B1A; this->AddChild(this->viewer); }