From 0cd79fb749b2783612e4811810036782f4e85836 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Mon, 27 Oct 2025 22:31:58 -0500 Subject: [PATCH] feat(component): implement more of CCharacterComponent::SetSkinColor --- src/component/CCharacterComponent.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/component/CCharacterComponent.cpp b/src/component/CCharacterComponent.cpp index 3ba05c8..0f5b0e0 100644 --- a/src/component/CCharacterComponent.cpp +++ b/src/component/CCharacterComponent.cpp @@ -1095,7 +1095,19 @@ void CCharacterComponent::SetSkinColor(int32_t skinColorID, bool a3, bool a4, co this->SetFace(this->m_data.faceID, a3, a5); - // TODO + if (a4) { + this->m_flags |= 0x1; + + // TODO component request logic + + this->m_flags &= ~0x8; + } + + this->m_sectionDirty = -1; + + // TODO component request logic + + this->m_flags &= ~0x8; } int32_t CCharacterComponent::VariationsLoaded(int32_t a2) {