Fix crosshair blur not working when aiming at teammates
authorterencehill <piuntn@gmail.com>
Sun, 20 Oct 2019 09:05:27 +0000 (11:05 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 20 Oct 2019 09:05:27 +0000 (11:05 +0200)
qcsrc/client/view.qc

index 850217f..972dcae 100644 (file)
@@ -1124,7 +1124,7 @@ void HUD_Crosshair(entity this)
                wcross_alpha_goal_prev = wcross_alpha;
                wcross_color_goal_prev = wcross_color;
 
-               if(spectatee_status == -1 && shottype == SHOTTYPE_HITTEAM || (shottype == SHOTTYPE_HITOBSTRUCTION && autocvar_crosshair_hittest_blur && !autocvar_chase_active))
+               if(spectatee_status == 0 && (shottype == SHOTTYPE_HITTEAM || (shottype == SHOTTYPE_HITOBSTRUCTION && autocvar_crosshair_hittest_blur && !autocvar_chase_active)))
                {
                        wcross_blur = 1;
                        wcross_alpha *= 0.75;