InterpolateOrigin_Do();
+ if(!self.sameteam)
+ {
+ traceline(self.origin, view_origin, 1, self);
+ if(trace_endpos != view_origin)
+ return;
+ }
+
// draw the sprite image
vector o;
o = project_3d_to_2d(self.origin);
float shownames_customize()
{
- return TRUE;
- if(vlen(other.origin - self.origin) < autocvar_sv_shownames_cull_distance)
+ // return TRUE;
+ //if(vlen(other.origin - self.origin) < autocvar_sv_shownames_cull_distance)
if(self.owner != other) // no need to spam own coordinates
if(self.owner.team == other.team || (self.owner.team != other.team && checkpvs(self.origin, other)))
return TRUE;