mirror of
https://github.com/halpz/re3.git
synced 2025-07-26 06:22:48 +00:00
CVisibilityPlugins and CRenderer fixes
This commit is contained in:
@ -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