From a3c7c4ef0170b79a90ac0effdcff284e34f1df7f Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 22 Nov 2010 14:28:59 +0100 Subject: [PATCH] resend accuracy when spectating --- qcsrc/server/cl_client.qc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index b2127febe..abbc8f2dc 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -631,6 +631,8 @@ void PutObserverInServer (void) PlayerScore_Clear(self); // clear scores when needed + accuracy_resend(self); + self.spectatortime = time; self.classname = "observer"; @@ -853,6 +855,8 @@ void PutClientInServer (void) entity spot, oldself; float j; + accuracy_resend(self); + if(self.team < 0) JoinBestTeam(self, FALSE, TRUE); @@ -2345,6 +2349,7 @@ float SpectateNext() { WriteEntity(MSG_ONE, self.enemy); //stuffcmd(self, "set viewsize $tmpviewsize \n"); self.movetype = MOVETYPE_NONE; + accuracy_resend(self); if(!SpectateUpdate()) PutObserverInServer(); -- 2.39.2