diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-06 18:17:47 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-06 18:17:47 +0200 |
commit | a24b65cbde23929c388e0c207b804a87346a9592 (patch) | |
tree | 6c9a63358c2bdbff7983b70001ce0684d62ca4ba /src/render/Renderer.cpp | |
parent | Merge branch 'master' of github.com:GTAmodding/re3 (diff) | |
download | re3-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 'src/render/Renderer.cpp')
-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 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); } |