diff options
author | aap <aap@papnet.eu> | 2020-12-01 00:22:57 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-01 00:22:57 +0100 |
commit | 2c59e1c8945a5c6de6415611d4f1dbc720790d73 (patch) | |
tree | 8fad006f6ef1b6699daad8a75966246ad8b6c9a1 /src/core/World.cpp | |
parent | added a few registered pointers and memory debug (diff) | |
download | re3-2c59e1c8945a5c6de6415611d4f1dbc720790d73.tar re3-2c59e1c8945a5c6de6415611d4f1dbc720790d73.tar.gz re3-2c59e1c8945a5c6de6415611d4f1dbc720790d73.tar.bz2 re3-2c59e1c8945a5c6de6415611d4f1dbc720790d73.tar.lz re3-2c59e1c8945a5c6de6415611d4f1dbc720790d73.tar.xz re3-2c59e1c8945a5c6de6415611d4f1dbc720790d73.tar.zst re3-2c59e1c8945a5c6de6415611d4f1dbc720790d73.zip |
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r-- | src/core/World.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp index 33c2f1c1..62d8d002 100644 --- a/src/core/World.cpp +++ b/src/core/World.cpp @@ -53,7 +53,7 @@ bool CWorld::bIncludeCarTyres; void CWorld::Initialise() { -#ifdef GTA_PS2 +#if GTA_VERSION <= GTA3_PS2_160 CPools::Initialise(); #endif pIgnoreEntity = nil; @@ -1783,6 +1783,9 @@ CWorld::ShutDown(void) } } ms_listMovingEntityPtrs.Flush(); +#if GTA_VERSION <= GTA3_PS2_160 + CPools::Shutdown(); +#endif } void |