summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-06 18:17:47 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-06 18:17:47 +0200
commita24b65cbde23929c388e0c207b804a87346a9592 (patch)
tree6c9a63358c2bdbff7983b70001ce0684d62ca4ba /src/render/Renderer.cpp
parentMerge branch 'master' of github.com:GTAmodding/re3 (diff)
downloadre3-a24b65cbde23929c388e0c207b804a87346a9592.tar
re3-a24b65cbde23929c388e0c207b804a87346a9592.tar.gz
re3-a24b65cbde23929c388e0c207b804a87346a9592.tar.bz2
re3-a24b65cbde23929c388e0c207b804a87346a9592.tar.lz
re3-a24b65cbde23929c388e0c207b804a87346a9592.tar.xz
re3-a24b65cbde23929c388e0c207b804a87346a9592.tar.zst
re3-a24b65cbde23929c388e0c207b804a87346a9592.zip
Diffstat (limited to '')
-rw-r--r--src/render/Renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 0c5e8fae..714ff6e6 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -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);
}