From: Rudolf Polzer Date: Tue, 23 Aug 2011 19:50:56 +0000 (+0200) Subject: spectating: BUTTON_USE = unlock view X-Git-Tag: xonotic-v0.5.0~77 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=837d49c83db816023e7d7badde2611657add1fe5;p=xonotic%2Fxonotic-data.pk3dir.git spectating: BUTTON_USE = unlock view --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 055982f33..6ea97a656 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -2313,7 +2313,8 @@ void SpectateCopy(entity spectatee) { self.dmg_save = spectatee.dmg_save; self.dmg_inflictor = spectatee.dmg_inflictor; self.angles = spectatee.v_angle; - self.fixangle = TRUE; + if(!self.BUTTON_USE) + self.fixangle = TRUE; setorigin(self, spectatee.origin); setsize(self, spectatee.mins, spectatee.maxs); SetZoomState(spectatee.zoomstate);