diff --git a/Runtime/Character/CAnimData.cpp b/Runtime/Character/CAnimData.cpp index 9d5b1967a..7dd26868e 100644 --- a/Runtime/Character/CAnimData.cpp +++ b/Runtime/Character/CAnimData.cpp @@ -250,7 +250,7 @@ std::shared_ptr CAnimData::GetAnimationManager() { return x10 void CAnimData::SetPhase(float ph) { x1f8_animRoot->VSetPhase(ph); } void CAnimData::Touch(const CSkinnedModel& model, int shadIdx) const { - const_cast(*model.GetModelInst()).Touch(shadIdx); + model.GetModelInst()->Touch(shadIdx); } SAdvancementDeltas CAnimData::GetAdvancementDeltas(const CCharAnimTime& a, const CCharAnimTime& b) const {