mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 08:04:08 +00:00
Island loading cleanup and fix
This commit is contained in:
parent
c559b71bc9
commit
4d1cfb7214
7 changed files with 42 additions and 58 deletions
|
@ -743,9 +743,7 @@ CStreaming::RequestBigBuildings(eLevelName level)
|
|||
void
|
||||
CStreaming::RequestIslands(eLevelName level)
|
||||
{
|
||||
#ifdef NO_ISLAND_LOADING
|
||||
if (CMenuManager::m_PrefsIslandLoading != CMenuManager::ISLAND_LOADING_HIGH)
|
||||
#endif
|
||||
ISLAND_LOADING_ISNT(HIGH)
|
||||
switch(level){
|
||||
case LEVEL_INDUSTRIAL:
|
||||
RequestModel(islandLODcomInd, BIGBUILDINGFLAGS);
|
||||
|
@ -946,9 +944,7 @@ CStreaming::RemoveBuildings(eLevelName level)
|
|||
void
|
||||
CStreaming::RemoveUnusedBigBuildings(eLevelName level)
|
||||
{
|
||||
#ifdef NO_ISLAND_LOADING
|
||||
if (CMenuManager::m_PrefsIslandLoading == CMenuManager::ISLAND_LOADING_LOW)
|
||||
#endif
|
||||
ISLAND_LOADING_IS(LOW)
|
||||
{
|
||||
if (level != LEVEL_INDUSTRIAL)
|
||||
RemoveBigBuildings(LEVEL_INDUSTRIAL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue