From a9739d561456bd6f1691c110f4224b6ea6a1cc85 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Thu, 6 Oct 2016 15:13:39 +0200 Subject: [PATCH] this was probably a workaround for something in the old broken code i don't see how it's useful anymore --- .../mutator/spawn_near_teammate/sv_spawn_near_teammate.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/mutators/mutator/spawn_near_teammate/sv_spawn_near_teammate.qc b/qcsrc/common/mutators/mutator/spawn_near_teammate/sv_spawn_near_teammate.qc index 57021a9f9..06f1eefd5 100644 --- a/qcsrc/common/mutators/mutator/spawn_near_teammate/sv_spawn_near_teammate.qc +++ b/qcsrc/common/mutators/mutator/spawn_near_teammate/sv_spawn_near_teammate.qc @@ -134,7 +134,7 @@ MUTATOR_HOOKFUNCTION(spawn_near_teammate, PlayerSpawn) // 400 is about the height of a typical laser jump (in overkill) // not traceline because we need space for the whole payer, not just his origin - tracebox(horizontal_trace_endpos + '0 0 4', STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), horizontal_trace_endpos - '0 0 400', MOVE_NORMAL, it); + tracebox(horizontal_trace_endpos, STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), horizontal_trace_endpos - '0 0 400', MOVE_NORMAL, it); vector vectical_trace_endpos = trace_endpos; te_lightning1(NULL, horizontal_trace_endpos, vectical_trace_endpos); LOG_INFOF(" trace_fraction2 %f\n", trace_fraction); -- 2.39.2