Don't render damageable trigger selection in game mode

This commit is contained in:
parax0 2015-11-28 11:51:06 -07:00
parent 9f7e304e41
commit 9b2dd838ea
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ void CDamageableTriggerExtra::AddToRenderer(CRenderer *pRenderer, const SViewInf
{
if (ViewInfo.ViewFrustum.BoxInFrustum(AABox()))
pRenderer->AddTransparentMesh(this, -1, AABox(), eDrawMesh);
if (mpParent->IsSelected())
if (mpParent->IsSelected() && !ViewInfo.GameMode)
pRenderer->AddOpaqueMesh(this, -1, AABox(), eDrawSelection);
}
}