mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-04 01:10:20 +00:00
More use of GetModelIndex
This commit is contained in:
parent
84c9484e55
commit
e9b334d7bf
20 changed files with 121 additions and 128 deletions
|
@ -146,7 +146,7 @@ CVisibilityPlugins::RenderFadingEntities(void)
|
|||
CEntity *e = node->item.entity;
|
||||
if(e->m_rwObject == nil)
|
||||
continue;
|
||||
mi = (CSimpleModelInfo*)CModelInfo::GetModelInfo(e->m_modelIndex);
|
||||
mi = (CSimpleModelInfo *)CModelInfo::GetModelInfo(e->GetModelIndex());
|
||||
if(mi->m_noZwrite)
|
||||
RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, FALSE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue