summaryrefslogtreecommitdiffstats
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-01 00:22:57 +0100
committeraap <aap@papnet.eu>2020-12-01 00:22:57 +0100
commit2c59e1c8945a5c6de6415611d4f1dbc720790d73 (patch)
tree8fad006f6ef1b6699daad8a75966246ad8b6c9a1 /src/core/World.cpp
parentadded a few registered pointers and memory debug (diff)
downloadre3-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 '')
-rw-r--r--src/core/World.cpp5
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