More use of GetModelIndex
This commit is contained in:
1 parent
84c9484e55
commit
e9b334d7bf
20 files changed
+121
-128
No files matched your search
@@ -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