summaryrefslogtreecommitdiffstats
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-02 00:18:38 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-02 00:18:38 +0100
commitc0ca3c7a3eb4a565111d789b3d9f5cc1f794a788 (patch)
treef6ffd5c74960bac9b0e900f1f3f775eec21947f9 /src/core/World.cpp
parentMerge remote-tracking branch 'upstream/master' (diff)
parentRemove ifndef GTA_PS2 around replays (diff)
downloadre3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar
re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar.gz
re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar.bz2
re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar.lz
re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar.xz
re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar.zst
re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.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 70388b38..844a4fb7 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;
@@ -1791,6 +1791,9 @@ CWorld::ShutDown(void)
}
}
ms_listMovingEntityPtrs.Flush();
+#if GTA_VERSION <= GTA3_PS2_160
+ CPools::Shutdown();
+#endif
}
void