diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-03 03:22:58 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-03 03:22:58 +0100 |
commit | ab3e810a95f60a97b2482f714608e88ac14f118b (patch) | |
tree | b0e7d42629563fe847a199cfd7f3253f59d173a9 /src/render | |
parent | Stats page (diff) | |
download | re3-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 'src/render')
-rw-r--r-- | src/render/Occlusion.cpp | 5 |
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; |