diff options
author | aap <aap@papnet.eu> | 2020-08-19 16:10:22 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-08-19 16:10:22 +0200 |
commit | 827ba62671c6e2efe96259a0f130a4d167d14c2a (patch) | |
tree | 53bbc586e9a44d19d0cd1a67a69e9c49d9625662 /src/render | |
parent | changing silly streaming memory limit (diff) | |
download | re3-827ba62671c6e2efe96259a0f130a4d167d14c2a.tar re3-827ba62671c6e2efe96259a0f130a4d167d14c2a.tar.gz re3-827ba62671c6e2efe96259a0f130a4d167d14c2a.tar.bz2 re3-827ba62671c6e2efe96259a0f130a4d167d14c2a.tar.lz re3-827ba62671c6e2efe96259a0f130a4d167d14c2a.tar.xz re3-827ba62671c6e2efe96259a0f130a4d167d14c2a.tar.zst re3-827ba62671c6e2efe96259a0f130a4d167d14c2a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Renderer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 66c12dd9..a6673135 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -21,6 +21,7 @@ #include "PointLights.h" #include "Occlusion.h" #include "Renderer.h" +#include "custompipes.h" //--MIAMI: file done @@ -243,6 +244,11 @@ CRenderer::RenderEverythingBarRoads(void) if(IsRoad(e)) continue; +#ifdef EXTENDED_PIPELINES + if(CustomPipes::bRenderingEnvMap && (e->IsPed() || e->IsVehicle())) + continue; +#endif + if(e->IsVehicle() || e->IsPed() && CVisibilityPlugins::GetClumpAlpha((RpClump*)e->m_rwObject) != 255){ if(e->IsVehicle() && PutIntoSortedVehicleList((CVehicle*)e)){ |