From 2964e510302c13b7263a0d01332dd4efbb14a7aa Mon Sep 17 00:00:00 2001 From: fallenoak Date: Mon, 27 Oct 2025 19:27:22 -0500 Subject: [PATCH] fix(component): correct paste targets in CCharacterComponent::RenderPrepHU --- src/component/CCharacterComponent.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/component/CCharacterComponent.cpp b/src/component/CCharacterComponent.cpp index 42c6559..c795f9e 100644 --- a/src/component/CCharacterComponent.cpp +++ b/src/component/CCharacterComponent.cpp @@ -495,19 +495,19 @@ void CCharacterComponent::RenderPrepHU(CCharacterComponent* component) { auto faceUpperTexture = component->m_texture[TEXTURE_INDEX(VARIATION_FACE, 1)]; if (faceUpperTexture) { - CCharacterComponent::PasteToSection(SECTION_HEAD_LOWER, faceUpperTexture, CCharacterComponent::s_textureBuffer); + CCharacterComponent::PasteToSection(SECTION_HEAD_UPPER, faceUpperTexture, CCharacterComponent::s_textureBuffer); } // Hair textures auto facialHairUpperTexture = component->m_texture[TEXTURE_INDEX(VARIATION_FACIAL_HAIR, 1)]; if (facialHairUpperTexture) { - CCharacterComponent::PasteToSection(SECTION_HEAD_LOWER, facialHairUpperTexture, CCharacterComponent::s_textureBuffer); + CCharacterComponent::PasteToSection(SECTION_HEAD_UPPER, facialHairUpperTexture, CCharacterComponent::s_textureBuffer); } auto hairUpperTexture = component->m_texture[TEXTURE_INDEX(VARIATION_HAIR, 2)]; if (hairUpperTexture) { - CCharacterComponent::PasteToSection(SECTION_HEAD_LOWER, hairUpperTexture, CCharacterComponent::s_textureBuffer); + CCharacterComponent::PasteToSection(SECTION_HEAD_UPPER, hairUpperTexture, CCharacterComponent::s_textureBuffer); } }