This commit is contained in:
Nikolay Korolev committed 2020-05-06 19:17:47 +03:00
1 parent aa12251c6b
commit a24b65cbde
8 files changed
+26 -25

No files matched your search

+1 -1
View File
@@ -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);
}