CVisibilityPlugins and CRenderer fixes
This commit is contained in:
1 parent
6cea1de9e6
commit
3c5bae164f
6 files changed
+50
-23
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user