mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-22 20:00:01 +00:00
fix generic.txd crash
This commit is contained in:
parent
bf299e5c17
commit
5385d004ec
|
@ -414,6 +414,11 @@ bool CGame::Initialise(const char* datFile)
|
||||||
CTxdStore::Create(gameTxdSlot);
|
CTxdStore::Create(gameTxdSlot);
|
||||||
CTxdStore::AddRef(gameTxdSlot);
|
CTxdStore::AddRef(gameTxdSlot);
|
||||||
|
|
||||||
|
#ifdef EXTENDED_PIPELINES
|
||||||
|
// for generic fallback
|
||||||
|
CustomPipes::SetTxdFindCallback();
|
||||||
|
#endif
|
||||||
|
|
||||||
LoadingScreen("Loading the Game", "Loading particles", nil);
|
LoadingScreen("Loading the Game", "Loading particles", nil);
|
||||||
int particleTxdSlot = CTxdStore::AddTxdSlot("particle");
|
int particleTxdSlot = CTxdStore::AddTxdSlot("particle");
|
||||||
CTxdStore::LoadTxd(particleTxdSlot, "MODELS/PARTICLE.TXD");
|
CTxdStore::LoadTxd(particleTxdSlot, "MODELS/PARTICLE.TXD");
|
||||||
|
@ -498,10 +503,6 @@ bool CGame::Initialise(const char* datFile)
|
||||||
CFileLoader::LoadLevel("GTA3.DAT");
|
CFileLoader::LoadLevel("GTA3.DAT");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef EXTENDED_PIPELINES
|
|
||||||
// for generic fallback
|
|
||||||
CustomPipes::SetTxdFindCallback();
|
|
||||||
#endif
|
|
||||||
CWorld::AddParticles();
|
CWorld::AddParticles();
|
||||||
CVehicleModelInfo::LoadVehicleColours();
|
CVehicleModelInfo::LoadVehicleColours();
|
||||||
CVehicleModelInfo::LoadEnvironmentMaps();
|
CVehicleModelInfo::LoadEnvironmentMaps();
|
||||||
|
|
Loading…
Reference in a new issue