summaryrefslogtreecommitdiffstats
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-02-10 08:01:53 +0100
committerSergeanur <s.anureev@yandex.ua>2021-02-10 08:01:53 +0100
commitb6af7393e8494570de4bfa837ba2090c522b28bb (patch)
treeaba068f1307a1a4e8c3d72adf69c0869f5c29f0e /src/core/Game.cpp
parentController menu (diff)
parentfix clouds (diff)
downloadre3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.gz
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.bz2
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.lz
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.xz
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.zst
re3-b6af7393e8494570de4bfa837ba2090c522b28bb.zip
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r--src/core/Game.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index ed9d67f4..43bd3d11 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -381,6 +381,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");
@@ -440,10 +445,7 @@ bool CGame::Initialise(const char* datFile)
CFileLoader::LoadLevel("DATA\\DEFAULT.DAT");
CFileLoader::LoadLevel(datFile);
-#ifdef EXTENDED_PIPELINES
- // for generic fallback
- CustomPipes::SetTxdFindCallback();
-#endif
+
LoadingScreen("Loading the Game", "Add Particles", nil);
CWorld::AddParticles();
CVehicleModelInfo::LoadVehicleColours();