From: Martin Taibr Date: Tue, 8 Oct 2019 18:35:01 +0000 (+0200) Subject: remove condition that is never true X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=191194aa9030545565e0e2df17c3eea204ce1500;p=xonotic%2Fxonotic-data.pk3dir.git remove condition that is never true --- diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 850217f15..96ed6fc05 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -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?