This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix generic.txd crash
- Loading branch information
Showing
with
5 additions
and
4 deletions.
-
+5
−4
src/core/Game.cpp
There are no files selected for viewing
|
|
@@ -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(); |
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.