From c1e13177a1bbc6ce17d1ddc14cecc74cb278b853 Mon Sep 17 00:00:00 2001 From: aap Date: Wed, 27 May 2020 22:32:33 +0200 Subject: some CAutomobile --- src/render/Renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/Renderer.cpp') diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index f149c6fb..6ac10cb0 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -394,7 +394,7 @@ CRenderer::SetupEntityVisibility(CEntity *ent) } return VIS_VISIBLE; } - if(ent->m_flagE10){ + if(ent->bDontStream){ if(ent->m_rwObject == nil || !ent->bIsVisible) return VIS_INVISIBLE; if(!ent->GetIsOnScreen() || ent->IsEntityOccluded()) -- cgit v1.2.3 From 00dc86917eca1b6628446f8a3f80f15855050d2c Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 28 May 2020 18:53:54 +0200 Subject: some more CAutomobile --- src/render/Renderer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/render/Renderer.cpp') diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 6ac10cb0..f2f55b92 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -269,10 +269,8 @@ CRenderer::RenderBoats(void) for(node = gSortedVehiclesAndPeds.tail.prev; node != &gSortedVehiclesAndPeds.head; node = node->prev){ - // only boats in this list CVehicle *v = (CVehicle*)node->item.ent; - if(v->IsBoat()) - RenderOneNonRoad(v); + RenderOneNonRoad(v); } } -- cgit v1.2.3