From: terencehill Date: Sun, 20 Oct 2019 09:27:18 +0000 (+0200) Subject: Fix crosshair blur not working well while aiming at a teammate and moving crosshair X-Git-Tag: xonotic-v0.8.5~1239 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=de9801a2c8ec0ca424dec75b2fb7437291904697 Fix crosshair blur not working well while aiming at a teammate and moving crosshair --- diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 972dcae424..49b0d26d27 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;