diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 17:34:46 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 17:34:46 +0200 |
commit | 22e8b0e419ad811c977c67ea2f2c06d53ea3be5e (patch) | |
tree | 655dc6cff470ac28d19678c392a0aebb49cea937 /src/core/Game.cpp | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-22e8b0e419ad811c977c67ea2f2c06d53ea3be5e.tar re3-22e8b0e419ad811c977c67ea2f2c06d53ea3be5e.tar.gz re3-22e8b0e419ad811c977c67ea2f2c06d53ea3be5e.tar.bz2 re3-22e8b0e419ad811c977c67ea2f2c06d53ea3be5e.tar.lz re3-22e8b0e419ad811c977c67ea2f2c06d53ea3be5e.tar.xz re3-22e8b0e419ad811c977c67ea2f2c06d53ea3be5e.tar.zst re3-22e8b0e419ad811c977c67ea2f2c06d53ea3be5e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Game.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index 96109e56..d0b3f5a3 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -377,7 +377,9 @@ bool CGame::Initialise(const char* datFile) CWorld::RepositionCertainDynamicObjects(); #endif LoadingScreen("Loading the Game", "Initialise vehicle paths", nil); +#ifdef GTA_ZONECULL CCullZones::ResolveVisibilities(); +#endif CTrain::InitTrains(); CPlane::InitPlanes(); CCredits::Init(); @@ -496,7 +498,9 @@ void CGame::ReInitGameObjectVariables(void) CSpecialFX::Init(); CWaterCannons::Init(); CParticle::ReloadConfig(); +#ifdef GTA_ZONECULL CCullZones::ResolveVisibilities(); +#endif if ( !FrontEndMenuManager.m_bWantToLoad ) { @@ -531,7 +535,9 @@ void CGame::ReloadIPLs(void) #ifndef MIAMI CWorld::RepositionCertainDynamicObjects(); #endif +#ifdef GTA_ZONECULL CCullZones::ResolveVisibilities(); +#endif CRenderer::SortBIGBuildings(); CTimer::Update(); } |