]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
csqcplayers: only override angles by local angles if predicted
authorRudolf Polzer <divverent@alientrap.org>
Wed, 21 Dec 2011 09:55:12 +0000 (10:55 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 21 Dec 2011 09:55:12 +0000 (10:55 +0100)
qcsrc/csqcmodel/cl_player.qc

index 21808f0f9fcb702eda68bf4cf20d75317ec782c8..b79ed6adc49ba1de449ff8ccdd2d23cfa4703e64 100644 (file)
@@ -211,13 +211,13 @@ void CSQCPlayer_SetCamera()
                        CSQCPlayer_PredictTo(clientcommandframe + 1);
 
                        CSQCPlayer_SetMinsMaxs();
+
+                       self.angles_y = input_angles_y;
                }
 
                // relink
                setorigin(self, self.origin);
 
-               self.angles_y = input_angles_y;
-
                self = oldself;
        }