summaryrefslogtreecommitdiffstats
path: root/src/render/Occlusion.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-12-03 03:22:58 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-12-03 03:22:58 +0100
commitab3e810a95f60a97b2482f714608e88ac14f118b (patch)
treeb0e7d42629563fe847a199cfd7f3253f59d173a9 /src/render/Occlusion.cpp
parentStats page (diff)
downloadre3-ab3e810a95f60a97b2482f714608e88ac14f118b.tar
re3-ab3e810a95f60a97b2482f714608e88ac14f118b.tar.gz
re3-ab3e810a95f60a97b2482f714608e88ac14f118b.tar.bz2
re3-ab3e810a95f60a97b2482f714608e88ac14f118b.tar.lz
re3-ab3e810a95f60a97b2482f714608e88ac14f118b.tar.xz
re3-ab3e810a95f60a97b2482f714608e88ac14f118b.tar.zst
re3-ab3e810a95f60a97b2482f714608e88ac14f118b.zip
Diffstat (limited to '')
-rw-r--r--src/render/Occlusion.cpp5
1 files changed, 5 insertions, 0 deletions
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;