summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-09 09:57:44 +0200
committeraap <aap@papnet.eu>2019-07-09 09:57:44 +0200
commit74fcbc8c0a6bbac8e8057655c5f1133e15c63656 (patch)
tree75dabaa5dc285f1541c6ee058028c7f57095eecf /src/render/Renderer.cpp
parentMerge branch 'master' of github.com:GTAmodding/re3 (diff)
downloadre3-74fcbc8c0a6bbac8e8057655c5f1133e15c63656.tar
re3-74fcbc8c0a6bbac8e8057655c5f1133e15c63656.tar.gz
re3-74fcbc8c0a6bbac8e8057655c5f1133e15c63656.tar.bz2
re3-74fcbc8c0a6bbac8e8057655c5f1133e15c63656.tar.lz
re3-74fcbc8c0a6bbac8e8057655c5f1133e15c63656.tar.xz
re3-74fcbc8c0a6bbac8e8057655c5f1133e15c63656.tar.zst
re3-74fcbc8c0a6bbac8e8057655c5f1133e15c63656.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 a6f28443..69df63ba 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -1160,7 +1160,7 @@ CRenderer::IsVehicleCullZoneVisible(CEntity *ent)
case STATUS_PHYSICS:
case STATUS_ABANDONED:
case STATUS_WRECKED:
- return !(v->m_pCurSurface && v->m_pCurSurface->bZoneCulled2);
+ return !(v->m_pCurGroundEntity && v->m_pCurGroundEntity->bZoneCulled2);
return true;
}