summaryrefslogtreecommitdiffstats
path: root/src/rw/VisibilityPlugins.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-18 12:21:52 +0100
committeraap <aap@papnet.eu>2021-02-18 12:21:52 +0100
commit996772faf2b7ed17269af194c6d9dcbdb37732fe (patch)
treecfb4d76317a169f665bf1f500e36d4aa2c0e54ec /src/rw/VisibilityPlugins.cpp
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.gz
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.bz2
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.lz
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.xz
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.zst
re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.zip
Diffstat (limited to '')
-rw-r--r--src/rw/VisibilityPlugins.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rw/VisibilityPlugins.cpp b/src/rw/VisibilityPlugins.cpp
index 3a303194..01db546c 100644
--- a/src/rw/VisibilityPlugins.cpp
+++ b/src/rw/VisibilityPlugins.cpp
@@ -233,7 +233,9 @@ CVisibilityPlugins::RenderFadingEntities(CLinkList<AlphaObjectInfo> &list)
DeActivateDirectional();
SetAmbientColours();
e->bImBeingRendered = true;
+ PUSH_RENDERGROUP(mi->GetModelName());
RenderFadingAtomic((RpAtomic*)e->m_rwObject, node->item.sort);
+ POP_RENDERGROUP();
e->bImBeingRendered = false;
}else
CRenderer::RenderOneNonRoad(e);