1
0
mirror of https://github.com/td512/re3.git synced 2026-03-01 00:39:00 +00:00

More use of GetModelIndex

This commit is contained in:
Sergeanur
2020-05-05 14:48:35 +03:00
parent 84c9484e55
commit e9b334d7bf
20 changed files with 121 additions and 128 deletions

View File

@@ -100,7 +100,7 @@ void
CCutsceneObject::RenderLimb(int32 bone)
{
RpAtomic *atomic;
CPedModelInfo *mi = (CPedModelInfo*)CModelInfo::GetModelInfo(m_modelIndex);
CPedModelInfo *mi = (CPedModelInfo *)CModelInfo::GetModelInfo(GetModelIndex());
switch(bone){
case BONE_head:
atomic = mi->getHead();