Merge branch 'divVerent/fruitbalance' of ssh://git.xonotic.org/xonotic-data.pk3dir...
authorRudolf Polzer <divverent@alientrap.org>
Mon, 19 Jul 2010 11:25:19 +0000 (13:25 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 19 Jul 2010 11:25:19 +0000 (13:25 +0200)
qcsrc/client/hook.qc

index d15e34b..8644847 100644 (file)
@@ -116,8 +116,9 @@ void Draw_GrapplingHook()
 
                if(self.sv_entnum == player_localentnum - 1)
                {
+                       b = view_origin + view_forward * MAX_SHOT_DISTANCE;
+                       WarpZone_TraceLine(view_origin, b, MOVE_NORMAL, world);
                        a = view_origin + view_forward * vs_x + view_right * -vs_y + view_up * vs_z;
-                       b = a + view_forward * MAX_SHOT_DISTANCE;
                }
                else
                {