]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
spectating: BUTTON_USE = unlock view
authorRudolf Polzer <divverent@xonotic.org>
Tue, 23 Aug 2011 19:50:56 +0000 (21:50 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 23 Aug 2011 19:50:56 +0000 (21:50 +0200)
qcsrc/server/cl_client.qc

index 055982f33b1fedb8d63f154fb303cd9afe7514a6..6ea97a656cdbde2a372b01738af37032b39815ee 100644 (file)
@@ -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);