feat(component): apply lower underwear texture in CCharacterComponent::RenderPrepLU

This commit is contained in:
fallenoak 2025-10-25 15:41:34 -05:00
parent 7482779b37
commit 61293b82dc
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -454,6 +454,13 @@ void CCharacterComponent::RenderPrepLU(CCharacterComponent* component) {
auto skin = component->m_texture[TEXTURE_INDEX(VARIATION_SKIN, 0)];
CCharacterComponent::PasteFromSkin(SECTION_LEG_UPPER, skin, CCharacterComponent::s_textureBuffer);
if ((component->m_flags & 0x20) || !(component->m_itemDisplays[ITEMSLOT_5].priorityDirty & ((1 << 0) | (1 << 1)))) {
auto underwearLowerTexture = component->m_texture[TEXTURE_INDEX(VARIATION_UNDERWEAR, 0)];
if (underwearLowerTexture) {
CCharacterComponent::PasteToSection(SECTION_LEG_UPPER, underwearLowerTexture, CCharacterComponent::s_textureBuffer);
}
}
// TODO
}