summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-20 23:01:21 +0200
committerGitHub <noreply@github.com>2020-08-20 23:01:21 +0200
commit857cef776d578d4cf7364b044977d9ed546918a3 (patch)
tree5fccc3f14dc6730f1d7abbdfb2f55c22bb5925b0 /src/core
parentfixed sound enum (diff)
parentstable CScriptPaths (diff)
downloadre3-857cef776d578d4cf7364b044977d9ed546918a3.tar
re3-857cef776d578d4cf7364b044977d9ed546918a3.tar.gz
re3-857cef776d578d4cf7364b044977d9ed546918a3.tar.bz2
re3-857cef776d578d4cf7364b044977d9ed546918a3.tar.lz
re3-857cef776d578d4cf7364b044977d9ed546918a3.tar.xz
re3-857cef776d578d4cf7364b044977d9ed546918a3.tar.zst
re3-857cef776d578d4cf7364b044977d9ed546918a3.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Game.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index dbb898bf..7a2e56ed 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -329,6 +329,7 @@ bool CGame::Initialise(const char* datFile)
CDebug::DebugInitTextBuffer();
ThePaths.Init();
ThePaths.AllocatePathFindInfoMem(4500);
+ CScriptPaths::Init();
CWeather::Init();
CCullZones::Init();
COcclusion::Init();
@@ -459,6 +460,7 @@ bool CGame::ShutDown(void)
CReplay::FinishPlayback();
CPlane::Shutdown();
CTrain::Shutdown();
+ CScriptPaths::Shutdown();
CSpecialFX::Shutdown();
#ifndef PS2
CGarages::Shutdown();
@@ -573,6 +575,7 @@ void CGame::ReInitGameObjectVariables(void)
CSpecialFX::Init();
CRopes::Init();
CWaterCannons::Init();
+ CScriptPaths::Init();
CParticle::ReloadConfig();
#ifdef PS2_MENU
@@ -715,6 +718,7 @@ void CGame::Process(void)
CWeather::Update();
CTheScripts::Process();
CCollision::Update();
+ CScriptPaths::Update();
CTrain::UpdateTrains();
CPlane::UpdatePlanes();
CHeli::UpdateHelis();