summaryrefslogtreecommitdiffstats
path: root/src/rw
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-04 01:12:58 +0100
committeraap <aap@papnet.eu>2020-12-04 01:12:58 +0100
commit9714a3776996d97e680cea575967a1d6041f5723 (patch)
tree0810bc2c542a9cf63b49ebbb0f6f6d37f0653755 /src/rw
parentMerge branch 'master' of github.com:GTAmodding/re3 (diff)
downloadre3-9714a3776996d97e680cea575967a1d6041f5723.tar
re3-9714a3776996d97e680cea575967a1d6041f5723.tar.gz
re3-9714a3776996d97e680cea575967a1d6041f5723.tar.bz2
re3-9714a3776996d97e680cea575967a1d6041f5723.tar.lz
re3-9714a3776996d97e680cea575967a1d6041f5723.tar.xz
re3-9714a3776996d97e680cea575967a1d6041f5723.tar.zst
re3-9714a3776996d97e680cea575967a1d6041f5723.zip
Diffstat (limited to '')
-rw-r--r--src/rw/VisibilityPlugins.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rw/VisibilityPlugins.cpp b/src/rw/VisibilityPlugins.cpp
index f931019c..d81c97f2 100644
--- a/src/rw/VisibilityPlugins.cpp
+++ b/src/rw/VisibilityPlugins.cpp
@@ -819,6 +819,11 @@ CVisibilityPlugins::PluginAttach(void)
ms_clumpPluginOffset = RpClumpRegisterPlugin(sizeof(ClumpExt),
ID_VISIBILITYCLUMP,
ClumpConstructor, ClumpDestructor, ClumpCopyConstructor);
+
+#if GTA_VERSION <= GTA3_PS2_16
+ Initialise();
+#endif
+
return ms_atomicPluginOffset != -1 && ms_clumpPluginOffset != -1;
}