summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-27 14:17:42 +0200
committeraap <aap@papnet.eu>2019-06-27 14:17:42 +0200
commitf6c767d87c5cb04710fb7e2363706d07dfcef8a6 (patch)
tree4c311a58c7989d35d9437046df6dd551be083494 /src/render/Renderer.cpp
parentstarted filling debug menu (diff)
downloadre3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.gz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.bz2
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.lz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.xz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.zst
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.zip
Diffstat (limited to '')
-rw-r--r--src/render/Renderer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 10001100..d8b0bbe6 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -917,7 +917,7 @@ CRenderer::ScanBigBuildingList(CPtrList &list)
for(node = list.first; node; node = node->next){
ent = (CEntity*)node->item;
- if(!ent->m_bZoneCulled && SetupBigBuildingVisibility(ent) == 1)
+ if(!ent->bZoneCulled && SetupBigBuildingVisibility(ent) == 1)
ms_aVisibleEntityPtrs[ms_nNoOfVisibleEntities++] = ent;
}
}
@@ -1122,7 +1122,7 @@ CRenderer::IsEntityCullZoneVisible(CEntity *ent)
CPed *ped;
CObject *obj;
- if(ent->m_bZoneCulled)
+ if(ent->bZoneCulled)
return false;
switch(ent->m_type){
@@ -1132,12 +1132,12 @@ CRenderer::IsEntityCullZoneVisible(CEntity *ent)
ped = (CPed*)ent;
if(ped->bInVehicle)
return ped->m_pMyVehicle && IsVehicleCullZoneVisible(ped->m_pMyVehicle);
- return !(ped->m_pCurSurface && ped->m_pCurSurface->m_bZoneCulled2);
+ return !(ped->m_pCurSurface && ped->m_pCurSurface->bZoneCulled2);
case ENTITY_TYPE_OBJECT:
obj = (CObject*)ent;
if(!obj->bIsStatic)
return true;
- return !(obj->m_pCurSurface && obj->m_pCurSurface->m_bZoneCulled2);
+ return !(obj->m_pCurSurface && obj->m_pCurSurface->bZoneCulled2);
}
return true;
}
@@ -1151,7 +1151,7 @@ CRenderer::IsVehicleCullZoneVisible(CEntity *ent)
case STATUS_PHYSICS:
case STATUS_ABANDONED:
case STATUS_WRECKED:
- return !(v->m_pCurSurface && v->m_pCurSurface->m_bZoneCulled2);
+ return !(v->m_pCurSurface && v->m_pCurSurface->bZoneCulled2);
return true;
}