From: terencehill Date: Sun, 20 Oct 2019 09:05:27 +0000 (+0200) Subject: Fix crosshair blur not working when aiming at teammates X-Git-Tag: xonotic-v0.8.5~1240 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3c72b4c0734806d9ac24c7ed5f8cb1d95bff48ba;p=xonotic%2Fxonotic-data.pk3dir.git Fix crosshair blur not working when aiming at teammates --- diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 850217f15..972dcae42 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -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;