summaryrefslogtreecommitdiff
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
parent814771c3b50cbda512efa6bb6cffb81d48cd48bf (diff)
bit more GTA_VERSION and GTA_PS2
Diffstat (limited to 'src/rw')
-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;
}