]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 850217f152c1b8013399873762a5d4a0f3484fe6..972dcae424e6462cef7232af234d6dbacd31b7e9 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;