From: Mario Date: Tue, 31 Mar 2015 12:47:15 +0000 (+1100) Subject: Disable hit indication while spectating (serves no purpose as a spectator, disabling... X-Git-Tag: xonotic-v0.8.1~95^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=07cfcba9f9dd65b130941954b083adbdf167066a;p=xonotic%2Fxonotic-data.pk3dir.git Disable hit indication while spectating (serves no purpose as a spectator, disabling also fixes "blinking" bug) --- diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index ee8ef320a..26e709320 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -763,7 +763,7 @@ void UpdateCrosshair() wcross_alpha_goal_prev = wcross_alpha; wcross_color_goal_prev = wcross_color; - if(shottype == SHOTTYPE_HITTEAM || (shottype == SHOTTYPE_HITOBSTRUCTION && autocvar_crosshair_hittest_blur && !autocvar_chase_active)) + if(spectatee_status == -1 && shottype == SHOTTYPE_HITTEAM || (shottype == SHOTTYPE_HITOBSTRUCTION && autocvar_crosshair_hittest_blur && !autocvar_chase_active)) { wcross_blur = 1; wcross_alpha *= 0.75;