{
default:
case ENT_CLIENT_HOOK:
- setorigin(self, trace_endpos); // hook endpoint!
- self.angles = vectoangles(trace_endpos - atrans);
+ if(vlen(trace_endpos - atrans) > 0.5)
+ {
+ setorigin(self, trace_endpos); // hook endpoint!
+ self.angles = vectoangles(trace_endpos - atrans);
+ self.drawmask = MASK_NORMAL;
+ }
+ else
+ {
+ self.drawmask = 0;
+ }
break;
case ENT_CLIENT_LGBEAM:
case ENT_CLIENT_GAUNTLET:
}
makevectors(self.angles_x * '-1 0 0' + self.angles_y * '0 1 0');
- myorg = WarpZone_RefSys_TransformOrigin(self, self.owner, self.origin) + v_forward * (-9);
+ myorg = WarpZone_RefSys_TransformOrigin(self, self.owner, self.origin); // + v_forward * (-9);
if(myorg != self.hook_start)
{