mirror of
https://github.com/halpz/re3.git
synced 2025-05-12 08:16:38 +03:00
Remove island loading
This commit is contained in:
parent
1cea84d2b1
commit
cf69f22a0c
7 changed files with 66 additions and 5 deletions
|
@ -700,8 +700,16 @@ CRenderer::ScanWorld(void)
|
|||
poly[2].y = CWorld::GetSectorY(vectors[CORNER_LOD_RIGHT].y);
|
||||
}
|
||||
ScanSectorPoly(poly, 3, ScanSectorList);
|
||||
|
||||
#ifdef NO_ISLAND_LOADING
|
||||
ScanBigBuildingList(CWorld::GetBigBuildingList(LEVEL_INDUSTRIAL));
|
||||
ScanBigBuildingList(CWorld::GetBigBuildingList(LEVEL_COMMERCIAL));
|
||||
ScanBigBuildingList(CWorld::GetBigBuildingList(LEVEL_SUBURBAN));
|
||||
#else
|
||||
#ifdef FIX_BUGS
|
||||
if (CCollision::ms_collisionInMemory != LEVEL_NONE)
|
||||
#endif
|
||||
ScanBigBuildingList(CWorld::GetBigBuildingList(CCollision::ms_collisionInMemory));
|
||||
#endif
|
||||
ScanBigBuildingList(CWorld::GetBigBuildingList(LEVEL_NONE));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue