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).
This commit is contained in:
ragnarok-clanker 2026-11-07 07:06:42 +00:00
commit a92de4ec1b

View file

@ -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<const std::string&>(GetBodyActionResourceName(job, sex, g_session.m_bodyCostume, 0)));
sprites[0].assign(static_cast<const std::string&>(g_session.GetBodySprName(job, sex, g_session.m_bodyCostume, 0)));
actions[1].assign(static_cast<const std::string&>(g_session.GetHeadActName(job, sex, &head)));
sprites[1].assign(static_cast<const std::string&>(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<const std::string&>(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<const std::string&>(g_session.GetHeadPalName(head, job, sex, headPalette)));
}
bodyImf = GetBodyImfName(job, sex, head, g_session.m_bodyCostume);