diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-05 23:21:26 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-05 23:21:26 +0200 |
commit | 35bf340401354f0c9af9efe88ae425bfd9e1b145 (patch) | |
tree | 627ac266b96acbabda3dc2e9b5cf95801ca7b199 /src/render | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.gz re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.bz2 re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.lz re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.xz re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.zst re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Renderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 10a551fb..c0cd4c21 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1213,7 +1213,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); } |