summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-09 18:18:42 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-09 18:18:42 +0200
commitcf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c (patch)
treef8a4337f1394c0c55b1be4e8ee62e49e713ba1c7 /src/render/Renderer.cpp
parentRemove console and fix sth (diff)
downloadre3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar
re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar.gz
re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar.bz2
re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar.lz
re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar.xz
re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar.zst
re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.zip
Diffstat (limited to '')
-rw-r--r--src/render/Renderer.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 8a48eb11..53181e52 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -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));
}
}