From: Mario Date: Mon, 23 Sep 2019 10:43:28 +0000 (+1000) Subject: Don't show hittest effects on enemies (it can't show all valid targets, so it doesn... X-Git-Tag: xonotic-v0.8.5~1281 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c00fe134e4a3635899af86a11092ac6aa7918db0;p=xonotic%2Fxonotic-data.pk3dir.git Don't show hittest effects on enemies (it can't show all valid targets, so it doesn't serve much purpose) --- 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