From d12ec6edf0fc458917d2a9fa4505363702d2f0d0 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 14:23:35 +0000 Subject: [PATCH] Decompile fn_13080 (UIGuildWnd::Paint) Batch #15872 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_13080 UIGuildWnd::Paint: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Guild/UIGuildWnd.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/UI/Guild/UIGuildWnd.cpp b/Source/UI/Guild/UIGuildWnd.cpp index 848286626..f917b8a51 100644 --- a/Source/UI/Guild/UIGuildWnd.cpp +++ b/Source/UI/Guild/UIGuildWnd.cpp @@ -111,11 +111,7 @@ void UIGuildWnd::Paint() { this->FillRegion(0, 17, this->geometry.width, 24, RGB(red, green, blue)); for (int x = 1, index = 0; x < 397; x += 66, ++index) { - if (tab == index) { - SkinPaletteChannels(ResourceMgr::Instance(), 2, 2, red, green, blue); - } else { - SkinPaletteChannels(ResourceMgr::Instance(), 14, 6, red, green, blue); - } + SkinPaletteChannels(ResourceMgr::Instance(), tab == index ? 2 : 14, tab == index ? 2 : 6, red, green, blue); this->FillRegion(x, 18, 64, 23, RGB(red, green, blue)); }