From: Rudolf Polzer Date: Mon, 22 Nov 2010 13:28:59 +0000 (+0100) Subject: resend accuracy when spectating X-Git-Tag: xonotic-v0.1.0preview~109^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a3c7c4ef0170b79a90ac0effdcff284e34f1df7f;p=xonotic%2Fxonotic-data.pk3dir.git resend accuracy when spectating --- 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();