From 5e9b2abcd9e543914200a40438a3eec0a871b697 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Tue, 18 Feb 2014 18:10:33 -0500 Subject: [PATCH] Also check to make sure that the client is really a spectator --- qcsrc/common/weapons/w_arc.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/weapons/w_arc.qc b/qcsrc/common/weapons/w_arc.qc index a11f722d0..3eaa17b8c 100644 --- a/qcsrc/common/weapons/w_arc.qc +++ b/qcsrc/common/weapons/w_arc.qc @@ -77,7 +77,7 @@ float W_Arc_Beam_Send(entity to, float sf) WriteByte(MSG_ENTITY, ENT_CLIENT_ARC_BEAM); // don't send group 1, 2, or 3 if this beam is for the local player - if((to == self.owner) || (to.enemy == self.owner)) { sf &= ~7; } + if((to == self.owner) || ((to.enemy == self.owner) && IS_SPEC(to))) { sf &= ~7; } WriteByte(MSG_ENTITY, sf); if(sf & 1) // starting location // not sent if beam is for owner -- 2.39.2