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/rw/VisibilityPlugins.cpp | |
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/rw/VisibilityPlugins.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rw/VisibilityPlugins.cpp b/src/rw/VisibilityPlugins.cpp index ac80eff0..36a60117 100644 --- a/src/rw/VisibilityPlugins.cpp +++ b/src/rw/VisibilityPlugins.cpp @@ -9,6 +9,7 @@ #include "Camera.h" #include "VisibilityPlugins.h" #include "World.h" +#include "custompipes.h" //--MIAMI: file done @@ -193,6 +194,10 @@ CVisibilityPlugins::RenderFadingEntities(CLinkList<AlphaObjectInfo> &list) CEntity *e = node->item.entity; if(e->m_rwObject == nil) continue; +#ifdef EXTENDED_PIPELINES + if(CustomPipes::bRenderingEnvMap && (e->IsPed() || e->IsVehicle())) + continue; +#endif mi = (CSimpleModelInfo *)CModelInfo::GetModelInfo(e->GetModelIndex()); if(mi->GetModelType() == MITYPE_SIMPLE && mi->m_noZwrite) RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, FALSE); |