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).
This commit is contained in:
ragnarok-clanker 2026-11-12 17:42:48 +00:00
commit 11417ea3c8

View file

@ -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);
}