]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
undo an accidentally done chaneg in last commit
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 23 Feb 2011 19:47:42 +0000 (20:47 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 23 Feb 2011 19:47:42 +0000 (20:47 +0100)
qcsrc/server/cl_client.qc

index acf399f917b2372f5b2d0b8a3b0a101dc4eafedd..71584d350379869717ce8e3cd1ca6a2a3ce47f24 100644 (file)
@@ -2365,6 +2365,7 @@ void SpectateCopy(entity spectatee) {
        self.fixangle = TRUE;
        setorigin(self, spectatee.origin);
        setsize(self, spectatee.mins, spectatee.maxs);
+       SetZoomState(spectatee.zoomstate);
 
        anticheat_spectatecopy(spectatee);
 }
@@ -2401,8 +2402,6 @@ float SpectateNext() {
                self.movetype = MOVETYPE_NONE;
                accuracy_resend(self);
 
-               SetZoomState(spectatee.zoomstate);
-
                if(!SpectateUpdate())
                        PutObserverInServer();