summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authormajestic <majesticcoding@gmail.com>2020-08-19 20:11:19 +0200
committermajestic <majesticcoding@gmail.com>2020-08-20 18:44:26 +0200
commit03c90b7c4028d0db1e6eddf6c63c0842c136517a (patch)
tree46ad14e4b9ea9ee15c28cce255bbca5c8e589ad9 /src/core
parentupdate librw; fix txd.img bug (diff)
downloadre3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar.gz
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar.bz2
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar.lz
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar.xz
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.tar.zst
re3-03c90b7c4028d0db1e6eddf6c63c0842c136517a.zip
Diffstat (limited to '')
-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 1e3e0c12..50c4288c 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -333,6 +333,7 @@ bool CGame::Initialise(const char* datFile)
CDebug::DebugInitTextBuffer();
ThePaths.Init();
ThePaths.AllocatePathFindInfoMem(4500);
+ CScriptPaths::Init();
CWeather::Init();
CCullZones::Init();
COcclusion::Init();
@@ -463,6 +464,7 @@ bool CGame::ShutDown(void)
CReplay::FinishPlayback();
CPlane::Shutdown();
CTrain::Shutdown();
+ CScriptPaths::Shutdown();
CSpecialFX::Shutdown();
#ifndef PS2
CGarages::Shutdown();
@@ -577,6 +579,7 @@ void CGame::ReInitGameObjectVariables(void)
CSpecialFX::Init();
CRopes::Init();
CWaterCannons::Init();
+ CScriptPaths::Init();
CParticle::ReloadConfig();
#ifdef PS2_MENU
@@ -719,6 +722,7 @@ void CGame::Process(void)
CWeather::Update();
CTheScripts::Process();
CCollision::Update();
+ CScriptPaths::Update();
CTrain::UpdateTrains();
CPlane::UpdatePlanes();
CHeli::UpdateHelis();