summaryrefslogtreecommitdiffstats
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-13 17:10:17 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-13 17:10:17 +0200
commitd0f5464200be032ee464218cfe415f3ce0b119a7 (patch)
treedd6f068286bb29c72192689bf741c43fcb505ae1 /src/core/Game.cpp
parentMerge pull request #654 from erorcun/miami (diff)
parentRename LEVEL_NONE to LEVEL_GENERIC (diff)
downloadre3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar
re3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar.gz
re3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar.bz2
re3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar.lz
re3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar.xz
re3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar.zst
re3-d0f5464200be032ee464218cfe415f3ce0b119a7.zip
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r--src/core/Game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index b21421b1..b5ba5b69 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -354,7 +354,7 @@ bool CGame::Initialise(const char* datFile)
LoadingScreen("Loading the Game", "Setup streaming", nil);
CStreaming::LoadInitialVehicles();
CStreaming::LoadInitialPeds();
- CStreaming::RequestBigBuildings(LEVEL_NONE);
+ CStreaming::RequestBigBuildings(LEVEL_GENERIC);
CStreaming::LoadAllRequestedModels(false);
printf("Streaming uses %dK of its memory", CStreaming::ms_memoryUsed / 1024);
LoadingScreen("Loading the Game", "Load animations", GetRandomSplashScreen());
@@ -505,7 +505,7 @@ void CGame::ReInitGameObjectVariables(void)
CTimeCycle::Initialise();
CDraw::SetFOV(120.0f);
CDraw::ms_fLODDistance = 500.0f;
- CStreaming::RequestBigBuildings(LEVEL_NONE);
+ CStreaming::RequestBigBuildings(LEVEL_GENERIC);
CStreaming::LoadAllRequestedModels(false);
CPed::Initialise();
CEventList::Initialise();
@@ -643,7 +643,7 @@ void CGame::InitialiseWhenRestarting(void)
CTimer::Initialise();
FrontEndMenuManager.m_bWantToLoad = false;
ReInitGameObjectVariables();
- currLevel = LEVEL_NONE;
+ currLevel = LEVEL_GENERIC;
CCollision::SortOutCollisionAfterLoad();
}
}