2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-11 13:07:42 +00:00

CAnimData: Rename IceModel() to GetIceModel()

Allows const overloading to work and prevents compilation errors from
occuring if the const qualifier on an instance changes over refactoring.
This commit is contained in:
Lioncash
2020-03-31 01:25:57 -04:00
parent 3e4731bf7f
commit 260dbaca7d
2 changed files with 2 additions and 2 deletions

View File

@@ -1586,7 +1586,7 @@ void CPatterned::RenderIceModelWithFlags(const CModelFlags& flags) const {
CModelFlags useFlags = flags;
useFlags.x1_matSetIdx = 0;
CAnimData* animData = x64_modelData->GetAnimationData();
if (CMorphableSkinnedModel* iceModel = animData->IceModel().GetObj())
if (CMorphableSkinnedModel* iceModel = animData->GetIceModel().GetObj())
animData->Render(*iceModel, useFlags, {*x510_vertexMorph}, iceModel->GetMorphMagnitudes());
}