]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove condition that is never true
authorMartin Taibr <taibr.martin@gmail.com>
Tue, 8 Oct 2019 18:35:01 +0000 (20:35 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Tue, 8 Oct 2019 18:35:01 +0000 (20:35 +0200)
qcsrc/client/view.qc

index 850217f152c1b8013399873762a5d4a0f3484fe6..96ed6fc0537182a607f1305f4589ac552beb5b42 100644 (file)
@@ -1124,13 +1124,14 @@ 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(shottype == SHOTTYPE_HITOBSTRUCTION && autocvar_crosshair_hittest_blur && !autocvar_chase_active)
                {
                        wcross_blur = 1;
                        wcross_alpha *= 0.75;
                }
                else
                        wcross_blur = 0;
+
                // *_prev is at time-frametime
                // * is at wcross_changedonetime+f
                // what do we have at time?