if(g_healthsize)
ent.origin_z -= (g_healthsize - ent.healthvalue) * cvar("hud_shownames_offset_healthsize");
- if(!sameteam)
- traceline(ent.origin, view_origin, 1, ent);
+ traceline(ent.origin, view_origin, 1, ent);
vector o, eo;
o = project_3d_to_2d(ent.origin);
}
}
- if(!sameteam && trace_endpos != view_origin) // out of view, fade out
+ if(trace_endpos != view_origin) // out of view, fade out
ent.alpha = max(0, ent.alpha - SHOWNAMES_FADESPEED * frametime);
else if(ent.healthvalue < 1) // dead player, fade out slowly
ent.alpha = max(0, ent.alpha - SHOWNAMES_FADESPEED * 0.25 * frametime);