1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-10-18 22:11:05 +00:00

plane fix

This commit is contained in:
aap 2020-12-01 10:19:11 +01:00
parent 5a3a058ed3
commit d545246bbf

View file

@ -566,7 +566,7 @@ CPlane::ProcessControl(void)
if(mi->m_planeLodId != -1){
m_rwObject = CModelInfo::GetModelInfo(mi->m_planeLodId)->CreateInstance();
if(m_rwObject)
m_matrix.Attach(RwFrameGetMatrix(RpAtomicGetFrame((RpAtomic*)m_rwObject)));
m_matrix.AttachRW(RwFrameGetMatrix(RpAtomicGetFrame((RpAtomic*)m_rwObject)));
}
}
}else if(CStreaming::HasModelLoaded(GetModelIndex())){