summaryrefslogtreecommitdiffstats
path: root/src/renderer
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-01 13:00:16 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-01 13:00:16 +0200
commit2b99f2634b7c75401cf1305929530467595919ca (patch)
tree1a4203b9e9b4c709686f82f4681364ddce217907 /src/renderer
parentmove debug script stuff to a separate file (diff)
parentFix radio scroll when player controls disabled (diff)
downloadre3-2b99f2634b7c75401cf1305929530467595919ca.tar
re3-2b99f2634b7c75401cf1305929530467595919ca.tar.gz
re3-2b99f2634b7c75401cf1305929530467595919ca.tar.bz2
re3-2b99f2634b7c75401cf1305929530467595919ca.tar.lz
re3-2b99f2634b7c75401cf1305929530467595919ca.tar.xz
re3-2b99f2634b7c75401cf1305929530467595919ca.tar.zst
re3-2b99f2634b7c75401cf1305929530467595919ca.zip
Diffstat (limited to '')
-rw-r--r--src/renderer/Renderer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/renderer/Renderer.cpp b/src/renderer/Renderer.cpp
index 1c0bd445..25effc81 100644
--- a/src/renderer/Renderer.cpp
+++ b/src/renderer/Renderer.cpp
@@ -154,11 +154,14 @@ CRenderer::PreRender(void)
void
CRenderer::RenderOneRoad(CEntity *e)
{
+#ifndef MASTER
if(gbDontRenderBuildings)
return;
if(gbShowCollisionPolys)
CCollision::DrawColModel_Coloured(e->GetMatrix(), *CModelInfo::GetModelInfo(e->GetModelIndex())->GetColModel(), e->GetModelIndex());
- else{
+ else
+#endif
+ {
#ifdef EXTENDED_PIPELINES
CustomPipes::AttachGlossPipe(e->GetAtomic());
#endif