mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 08:50:00 +00:00
plane fix
This commit is contained in:
parent
5a3a058ed3
commit
d545246bbf
|
@ -566,7 +566,7 @@ CPlane::ProcessControl(void)
|
||||||
if(mi->m_planeLodId != -1){
|
if(mi->m_planeLodId != -1){
|
||||||
m_rwObject = CModelInfo::GetModelInfo(mi->m_planeLodId)->CreateInstance();
|
m_rwObject = CModelInfo::GetModelInfo(mi->m_planeLodId)->CreateInstance();
|
||||||
if(m_rwObject)
|
if(m_rwObject)
|
||||||
m_matrix.Attach(RwFrameGetMatrix(RpAtomicGetFrame((RpAtomic*)m_rwObject)));
|
m_matrix.AttachRW(RwFrameGetMatrix(RpAtomicGetFrame((RpAtomic*)m_rwObject)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else if(CStreaming::HasModelLoaded(GetModelIndex())){
|
}else if(CStreaming::HasModelLoaded(GetModelIndex())){
|
||||||
|
|
Loading…
Reference in a new issue