diff options
author | aap <aap@papnet.eu> | 2021-02-05 10:51:12 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-02-05 10:51:12 +0100 |
commit | 5385d004ecb81fe722485318bab1d19dc97aa00a (patch) | |
tree | 9572dabfd06d7824c3285ec3c0582579a18e7cbc /src/core/Game.cpp | |
parent | fix MASTER crashes (diff) | |
download | re3-5385d004ecb81fe722485318bab1d19dc97aa00a.tar re3-5385d004ecb81fe722485318bab1d19dc97aa00a.tar.gz re3-5385d004ecb81fe722485318bab1d19dc97aa00a.tar.bz2 re3-5385d004ecb81fe722485318bab1d19dc97aa00a.tar.lz re3-5385d004ecb81fe722485318bab1d19dc97aa00a.tar.xz re3-5385d004ecb81fe722485318bab1d19dc97aa00a.tar.zst re3-5385d004ecb81fe722485318bab1d19dc97aa00a.zip |
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r-- | src/core/Game.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index 4fd30b53..2a6afa97 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -414,6 +414,11 @@ bool CGame::Initialise(const char* datFile) CTxdStore::Create(gameTxdSlot); CTxdStore::AddRef(gameTxdSlot); +#ifdef EXTENDED_PIPELINES + // for generic fallback + CustomPipes::SetTxdFindCallback(); +#endif + LoadingScreen("Loading the Game", "Loading particles", nil); int particleTxdSlot = CTxdStore::AddTxdSlot("particle"); CTxdStore::LoadTxd(particleTxdSlot, "MODELS/PARTICLE.TXD"); @@ -498,10 +503,6 @@ bool CGame::Initialise(const char* datFile) CFileLoader::LoadLevel("GTA3.DAT"); #endif -#ifdef EXTENDED_PIPELINES - // for generic fallback - CustomPipes::SetTxdFindCallback(); -#endif CWorld::AddParticles(); CVehicleModelInfo::LoadVehicleColours(); CVehicleModelInfo::LoadEnvironmentMaps(); |