From de9801a2c8ec0ca424dec75b2fb7437291904697 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 20 Oct 2019 11:27:18 +0200 Subject: [PATCH] Fix crosshair blur not working well while aiming at a teammate and moving crosshair --- qcsrc/client/view.qc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 972dcae42..49b0d26d2 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -672,7 +672,10 @@ float TrueAimCheck(entity wepent) tracebox(w_shotorg, mi, ma, w_shotorg + view_forward * (vecs.x + nudge), MOVE_NORMAL, ta); // FIXME this MOVE_NORMAL part will misbehave a little in csqc w_shotorg = trace_endpos - view_forward * nudge; - tracebox(w_shotorg, mi, ma, trueaimpoint, MOVE_NORMAL, ta); + if (mi == '0 0 0') + traceline(w_shotorg, trueaimpoint, MOVE_NORMAL, ta); + else + tracebox(w_shotorg, mi, ma, trueaimpoint, MOVE_NORMAL, ta); shottype = EnemyHitCheck(); if(shottype != SHOTTYPE_HITWORLD) return shottype; -- 2.39.2