diff options
author | aap <aap@papnet.eu> | 2020-12-04 01:12:58 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-04 01:12:58 +0100 |
commit | 9714a3776996d97e680cea575967a1d6041f5723 (patch) | |
tree | 0810bc2c542a9cf63b49ebbb0f6f6d37f0653755 /src/rw | |
parent | 814771c3b50cbda512efa6bb6cffb81d48cd48bf (diff) |
bit more GTA_VERSION and GTA_PS2
Diffstat (limited to 'src/rw')
-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 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; } |