From ab3e810a95f60a97b2482f714608e88ac14f118b Mon Sep 17 00:00:00 2001 From: erorcun Date: Thu, 3 Dec 2020 05:22:58 +0300 Subject: AnimViewer done, comment cleanup --- src/render/Occlusion.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/render') diff --git a/src/render/Occlusion.cpp b/src/render/Occlusion.cpp index 79ce0461..5fef6e21 100644 --- a/src/render/Occlusion.cpp +++ b/src/render/Occlusion.cpp @@ -292,6 +292,11 @@ COcclusion::ProcessBeforeRendering(void) { NumActiveOccluders = 0; +#ifndef MASTER + if (gbModelViewer) + return; +#endif + if (CGame::currArea != AREA_MAIN_MAP) return; -- cgit v1.2.3