mirror of
https://github.com/halpz/re3.git
synced 2025-05-12 08:56:38 +03:00
IsStatic
This commit is contained in:
parent
aa12251c6b
commit
a24b65cbde
8 changed files with 26 additions and 25 deletions
|
@ -1173,7 +1173,7 @@ CRenderer::IsEntityCullZoneVisible(CEntity *ent)
|
|||
return !(ped->m_pCurSurface && ped->m_pCurSurface->bZoneCulled2);
|
||||
case ENTITY_TYPE_OBJECT:
|
||||
obj = (CObject*)ent;
|
||||
if(!obj->bIsStatic)
|
||||
if(!obj->IsStatic())
|
||||
return true;
|
||||
return !(obj->m_pCurSurface && obj->m_pCurSurface->bZoneCulled2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue