summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-05 10:51:12 +0100
committeraap <aap@papnet.eu>2021-02-05 10:51:12 +0100
commit5385d004ecb81fe722485318bab1d19dc97aa00a (patch)
tree9572dabfd06d7824c3285ec3c0582579a18e7cbc /src
parentfix MASTER crashes (diff)
downloadre3-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 '')
-rw-r--r--src/core/Game.cpp9
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();