From a92de4ec1b06d47af323b89c028528639efea9b2 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 07:06:42 +0000 Subject: [PATCH] Decompile fn_13801 (UINewSkillListWnd::DrawCharacter) Batch #14058 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_13801 UINewSkillListWnd::DrawCharacter: logic confirmed by peer review Peer-reviewed-by: secret, KWDev, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Window/UINewSkillListWnd.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/UI/Window/UINewSkillListWnd.cpp b/Source/UI/Window/UINewSkillListWnd.cpp index d2f07c3f2..fadf2b646 100644 --- a/Source/UI/Window/UINewSkillListWnd.cpp +++ b/Source/UI/Window/UINewSkillListWnd.cpp @@ -186,15 +186,15 @@ void UINewSkillListWnd::DrawCharacter() { const int bodyPalette = g_session.m_bodyStyle; const int headPalette = g_session.m_headPalette; - actions[0].assign(GetBodyActionResourceName(job, sex, g_session.m_bodyCostume, 0)); - sprites[0].assign(g_session.GetBodySprName(job, sex, g_session.m_bodyCostume, 0)); - actions[1].assign(g_session.GetHeadActName(job, sex, &head)); - sprites[1].assign(g_session.GetHeadSprName(job, sex, &head)); + actions[0].assign(static_cast(GetBodyActionResourceName(job, sex, g_session.m_bodyCostume, 0))); + sprites[0].assign(static_cast(g_session.GetBodySprName(job, sex, g_session.m_bodyCostume, 0))); + actions[1].assign(static_cast(g_session.GetHeadActName(job, sex, &head))); + sprites[1].assign(static_cast(g_session.GetHeadSprName(job, sex, &head))); if (bodyPalette != 0) { - bodyPal.assign(g_session.GetBodyPalName(job, sex, bodyPalette, g_session.m_bodyCostume, 0, 0)); + bodyPal.assign(static_cast(g_session.GetBodyPalName(job, sex, bodyPalette, g_session.m_bodyCostume, 0, 0))); } if (headPalette != 0) { - headPal.assign(g_session.GetHeadPalName(head, job, sex, headPalette)); + headPal.assign(static_cast(g_session.GetHeadPalName(head, job, sex, headPalette))); } bodyImf = GetBodyImfName(job, sex, head, g_session.m_bodyCostume);