Unpredict warpzones until angle rolling can be fixed
authorMario <mario@smbclan.net>
Thu, 3 Dec 2015 10:30:26 +0000 (20:30 +1000)
committerMario <mario@smbclan.net>
Thu, 3 Dec 2015 10:30:26 +0000 (20:30 +1000)
qcsrc/lib/warpzone/client.qc
qcsrc/lib/warpzone/server.qc

index 3eaba33..e33a72b 100644 (file)
@@ -89,7 +89,7 @@ NET_HANDLE(ENT_CLIENT_WARPZONE, bool isnew)
        // engine currently wants this
        self.predraw = WarpZone_Fade_PreDraw;
 
-       self.move_touch = WarpZone_Touch;
+       //self.move_touch = WarpZone_Touch;
        return true;
 }
 
index 4540dab..b97d58c 100644 (file)
@@ -95,7 +95,7 @@ float WarpZone_Teleport(entity wz, entity player, float f0, float f1)
        o10 = o1 = WarpZone_TransformOrigin(wz, o0);
        v1 = WarpZone_TransformVelocity(wz, v0);
        if (!IS_NOT_A_CLIENT(player))
-               a1 = WarpZone_TransformVAngles(wz, player.v_angle);
+               a1 = WarpZone_TransformVAngles(wz, PHYS_INPUT_ANGLES(player));
        else
                a1 = WarpZone_TransformAngles(wz, a0);
 
@@ -178,8 +178,8 @@ float WarpZone_Teleport(entity wz, entity player, float f0, float f1)
        }
        #elif defined(CSQC)
        setproperty(VF_CL_VIEWANGLES, WarpZone_TransformVAngles(wz, getpropertyvec(VF_CL_VIEWANGLES)));
-       if(checkextension("DP_CSQC_ROTATEMOVES"))
-               CL_RotateMoves(wz.warpzone_transform);
+       //if(checkextension("DP_CSQC_ROTATEMOVES"))
+               //CL_RotateMoves(wz.warpzone_transform);
        #endif
 #endif