summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-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;