summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cgame/cg_draw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index 64e5ed7..e351b70 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -4009,6 +4009,9 @@ static void CG_DrawHealthBars( void )
switch( es->eType )
{
case ET_BUILDABLE:
+ if( CG_PlayerIsBuilder( es->modelindex ) )
+ continue;
+
bar->value = es->generic1;
bar->max = BG_Buildable( es->modelindex )->health;
BG_BuildableBoundingBox( es->modelindex, mins, maxs );