summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/PedModelInfo.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-19 14:36:38 +0200
committerGitHub <noreply@github.com>2020-08-19 14:36:38 +0200
commit76fe1247c86873fa548c85ae8598efd4ce1947c2 (patch)
tree0d7d5e42a8e92841af0f89dc577eb0888831fd9f /src/modelinfo/PedModelInfo.cpp
parentIsland loading cleanup and fix (diff)
parentMerge branch 'master' of github.com:gtamodding/re3 (diff)
downloadre3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar.gz
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar.bz2
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar.lz
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar.xz
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.tar.zst
re3-76fe1247c86873fa548c85ae8598efd4ce1947c2.zip
Diffstat (limited to 'src/modelinfo/PedModelInfo.cpp')
-rw-r--r--src/modelinfo/PedModelInfo.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modelinfo/PedModelInfo.cpp b/src/modelinfo/PedModelInfo.cpp
index 60c63114..117fd378 100644
--- a/src/modelinfo/PedModelInfo.cpp
+++ b/src/modelinfo/PedModelInfo.cpp
@@ -8,6 +8,7 @@
#include "NodeName.h"
#include "VisibilityPlugins.h"
#include "ModelInfo.h"
+#include "custompipes.h"
void
CPedModelInfo::DeleteRwObject(void)
@@ -91,8 +92,10 @@ CPedModelInfo::findLimbsCb(RpAtomic *atomic, void *data)
void
CPedModelInfo::SetClump(RpClump *clump)
{
+#ifdef EXTENDED_PIPELINES
+ CustomPipes::AttachRimPipe(clump);
+#endif
#ifdef PED_SKIN
-
// CB has to be set here before atomics are detached from clump
if(strncmp(GetName(), "player", 7) == 0)
RpClumpForAllAtomics(clump, SetAtomicRendererCB, (void*)CVisibilityPlugins::RenderPlayerCB);