summaryrefslogtreecommitdiffstats
path: root/src/renderer/Renderer.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-07-29 19:43:35 +0200
committeraap <aap@papnet.eu>2021-07-29 19:43:47 +0200
commit3c5bae164f54ef3eb21d1f62aabbbb58939f14ab (patch)
tree15282e0f336a51b9cbc6640ce83613cbb45f95a1 /src/renderer/Renderer.cpp
parentReverse unused audio functions from mobile (diff)
downloadre3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar.gz
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar.bz2
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar.lz
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar.xz
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar.zst
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.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