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

This commit is contained in:
fallenoak committed 2025-10-25 15:41:34 -05:00
1 parent 7482779b37
commit 61293b82dc
1 file changed
+7
+7
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
}