Don't show hittest effects on enemies (it can't show all valid targets, so it doesn...
authorMario <mario.mario@y7mail.com>
Mon, 23 Sep 2019 10:43:28 +0000 (20:43 +1000)
committerMario <mario.mario@y7mail.com>
Mon, 23 Sep 2019 10:43:28 +0000 (20:43 +1000)
qcsrc/client/view.qc

index 33f7e9b..5ae7d50 100644 (file)
@@ -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