From c00fe134e4a3635899af86a11092ac6aa7918db0 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 23 Sep 2019 20:43:28 +1000 Subject: [PATCH] Don't show hittest effects on enemies (it can't show all valid targets, so it doesn't serve much purpose) --- qcsrc/client/view.qc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 33f7e9ba4..5ae7d5005 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -1094,8 +1094,10 @@ void HUD_Crosshair(entity this) wcross_color.z += sin(hitindication_crosshair_size) * hitindication_color.z; } - if(shottype == SHOTTYPE_HITENEMY) - wcross_scale *= autocvar_crosshair_hittest; // is not queried if hittest is 0 + // no effects needed for targeting enemies, this can't possibly span all valid targets! + // just show for teammates to give a sign that they're an invalid target + //if(shottype == SHOTTYPE_HITENEMY) + //wcross_scale *= autocvar_crosshair_hittest; // is not queried if hittest is 0 if(shottype == SHOTTYPE_HITTEAM) wcross_scale /= autocvar_crosshair_hittest; // is not queried if hittest is 0 -- 2.39.2