From 9eb599ff58fcc9d3f89872a548fcf2221c65061f Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Thu, 23 Jan 2020 17:29:36 +0200 Subject: Plane crashfix and more --- src/modelinfo/MloModelInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modelinfo/MloModelInfo.cpp') diff --git a/src/modelinfo/MloModelInfo.cpp b/src/modelinfo/MloModelInfo.cpp index 693f1fb6..746d9db4 100644 --- a/src/modelinfo/MloModelInfo.cpp +++ b/src/modelinfo/MloModelInfo.cpp @@ -12,8 +12,8 @@ CMloModelInfo::ConstructClump() RpClumpSetFrame(m_clump, mainFrame); for (int i = firstInstance; i < lastInstance; i++) { - int modelId = CModelInfo::GetMloInstanceStore()->store[i].m_modelIndex; - RwMatrix *attMat = CModelInfo::GetMloInstanceStore()->store[i].GetMatrix().m_attachment; + int modelId = CModelInfo::GetMloInstanceStore().store[i].m_modelIndex; + RwMatrix *attMat = CModelInfo::GetMloInstanceStore().store[i].GetMatrix().m_attachment; CSimpleModelInfo *minfo = (CSimpleModelInfo*)CModelInfo::GetModelInfo(modelId); if (minfo->m_atomics[0] != nil) { -- cgit v1.2.3