diff options
author | aap <aap@papnet.eu> | 2020-05-03 17:44:10 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-03 17:44:10 +0200 |
commit | a073dda5ecdbf3342378384648453108ad793d87 (patch) | |
tree | c2b6550fdabfe3834a9d4525fd97e7cf4a402fe4 /src/core/Game.cpp | |
parent | GTA_BRIDGE and GTA_TRAIN defines (diff) | |
download | re3-a073dda5ecdbf3342378384648453108ad793d87.tar re3-a073dda5ecdbf3342378384648453108ad793d87.tar.gz re3-a073dda5ecdbf3342378384648453108ad793d87.tar.bz2 re3-a073dda5ecdbf3342378384648453108ad793d87.tar.lz re3-a073dda5ecdbf3342378384648453108ad793d87.tar.xz re3-a073dda5ecdbf3342378384648453108ad793d87.tar.zst re3-a073dda5ecdbf3342378384648453108ad793d87.zip |
Diffstat (limited to 'src/core/Game.cpp')
-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 3053c761..0e618c84 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -387,7 +387,9 @@ bool CGame::Initialise(const char* datFile) LoadingScreen("Loading the Game", "Position dynamic objects", nil); CWorld::RepositionCertainDynamicObjects(); LoadingScreen("Loading the Game", "Initialise vehicle paths", nil); +#ifdef GTA_ZONECULL CCullZones::ResolveVisibilities(); +#endif CTrain::InitTrains(); CPlane::InitPlanes(); CCredits::Init(); @@ -504,7 +506,9 @@ void CGame::ReInitGameObjectVariables(void) CSpecialFX::Init(); CWaterCannons::Init(); CParticle::ReloadConfig(); +#ifdef GTA_ZONECULL CCullZones::ResolveVisibilities(); +#endif if ( !FrontEndMenuManager.m_bWantToLoad ) { @@ -537,7 +541,9 @@ void CGame::ReloadIPLs(void) CCranes::InitCranes(); CGarages::Init(); CWorld::RepositionCertainDynamicObjects(); +#ifdef GTA_ZONECULL CCullZones::ResolveVisibilities(); +#endif CRenderer::SortBIGBuildings(); CTimer::Update(); } |