mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 07:14:09 +00:00
plane fix
This commit is contained in:
parent
5a3a058ed3
commit
d545246bbf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue