mirror of
https://github.com/halpz/re3.git
synced 2025-07-17 00:28:11 +00:00
More use of GetModelIndex
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user