diff options
author | saml1er <danishroar@gmail.com> | 2020-04-16 21:01:53 +0200 |
---|---|---|
committer | saml1er <danishroar@gmail.com> | 2020-04-16 21:01:53 +0200 |
commit | e52a02fb9e1dd5602e80d88691f2ee2291d1fa52 (patch) | |
tree | 333caa1599e2f0c6b91bdae2092cf085eaf8238a /src/core/Game.cpp | |
parent | Reverse CWorld (diff) | |
parent | More refs removed (diff) | |
download | re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar.gz re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar.bz2 re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar.lz re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar.xz re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar.zst re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.zip |
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r-- | src/core/Game.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index daac3ec5..8699ffeb 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -307,6 +307,7 @@ bool CGame::Initialise(const char* datFile) CDraw::SetFOV(120.0f); CDraw::ms_fLODDistance = 500.0f; LoadingScreen("Loading the Game", "Setup streaming", nil); +#ifdef USE_TXD_CDIMAGE int txdHandle = CFileMgr::OpenFile("MODELS\\TXD.IMG", "r"); if (txdHandle) CFileMgr::CloseFile(txdHandle); @@ -321,6 +322,9 @@ bool CGame::Initialise(const char* datFile) CStreaming::Init(); } } +#else + CStreaming::Init(); +#endif CStreaming::LoadInitialVehicles(); CStreaming::LoadInitialPeds(); CStreaming::RequestBigBuildings(LEVEL_NONE); @@ -350,7 +354,7 @@ bool CGame::Initialise(const char* datFile) CAntennas::Init(); CGlass::Init(); gPhoneInfo.Initialise(); - CSceneEdit::Init(); + CSceneEdit::Initialise(); LoadingScreen("Loading the Game", "Load scripts", nil); CTheScripts::Init(); CGangs::Initialise(); |