]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
turn improved prediction on by default
authorRudolf Polzer <divverent@alientrap.org>
Thu, 28 Apr 2011 20:58:19 +0000 (22:58 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 28 Apr 2011 20:58:19 +0000 (22:58 +0200)
qcsrc/warpzonelib/server.qc

index ed068247213edd0b88207e35d4e07bdd5284aacd..dee94fd8565d0655388842bacecfccd81bacd34f 100644 (file)
@@ -690,9 +690,9 @@ void spawnfunc_target_warpzone_reconnect()
 
 void WarpZone_PlayerPhysics_FixVAngle(void)
 {
-#ifdef WARPZONE_FIX_VANGLE
-       if(self.v_angle_z <= 360)
+#ifndef WARPZONE_DONT_FIX_VANGLE
        if(clienttype(self) == CLIENTTYPE_REAL)
+       if(self.v_angle_z <= 360) // if not already adjusted
        if(time - self.ping * 0.001 < self.warpzone_teleport_time)
        {
                self.v_angle = WarpZone_TransformVAngles(self.warpzone_teleport_zone, self.v_angle);