mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01: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 New Issue
Block a user