]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable hit indication while spectating (serves no purpose as a spectator, disabling...
authorMario <zacjardine@y7mail.com>
Tue, 31 Mar 2015 12:47:15 +0000 (23:47 +1100)
committerMario <zacjardine@y7mail.com>
Tue, 31 Mar 2015 12:47:15 +0000 (23:47 +1100)
qcsrc/client/view.qc

index ee8ef320ae4643740f8bb275f848b9436914462f..26e709320778a9892ae0493a7452d3a8d5d28257 100644 (file)
@@ -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;