summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cgame/cg_draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index 24bc2d94..6e6753f2 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -2557,7 +2557,8 @@ static void CG_DrawCrosshairNames( rectDef_t *rect, float scale, int textStyle )
name = cgs.clientinfo[ cg.crosshairClientNum ].name;
if( cg_teamOverlayUserinfo.integer &&
cg.snap->ps.stats[ STAT_TEAM ] != TEAM_NONE &&
- cgs.teaminfoReceievedTime )
+ cgs.teaminfoReceievedTime &&
+ cgs.clientinfo[ cg.crosshairClientNum ].health > 0 )
{
name = va( "%s ^7[^%c%d^7]", name,
CG_GetColorCharForHealth( cg.crosshairClientNum ),