1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-06-18 05:23:12 +00:00

Fix loading island LODs with big buildings

This commit is contained in:
Sergeanur 2020-11-13 18:28:15 +02:00
parent feeab0b74a
commit 8374a346e5

View file

@ -742,7 +742,9 @@ CStreaming::RequestBigBuildings(eLevelName level)
b = CPools::GetBuildingPool()->GetSlot(i); b = CPools::GetBuildingPool()->GetSlot(i);
if(b && b->bIsBIGBuilding if(b && b->bIsBIGBuilding
#ifdef NO_ISLAND_LOADING #ifdef NO_ISLAND_LOADING
&& ((CMenuManager::m_PrefsIslandLoading != CMenuManager::ISLAND_LOADING_LOW) || (b->m_level == level)) && (((CMenuManager::m_PrefsIslandLoading != CMenuManager::ISLAND_LOADING_LOW) && (b != pIslandLODindustEntity) && (b != pIslandLODcomIndEntity) &&
(b != pIslandLODcomSubEntity) && (b != pIslandLODsubIndEntity) && (b != pIslandLODsubComEntity)
) || (b->m_level == level))
#else #else
&& b->m_level == level && b->m_level == level
#endif #endif