From: terencehill Date: Mon, 27 Sep 2021 20:15:30 +0000 (+0200) Subject: Disable crosshair_chase if cl_lockview is enabled X-Git-Tag: xonotic-v0.8.5~335 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9998d96afadf81cefaf3a416441e842d9346b541;p=xonotic%2Fxonotic-data.pk3dir.git Disable crosshair_chase if cl_lockview is enabled --- diff --git a/qcsrc/client/hud/crosshair.qc b/qcsrc/client/hud/crosshair.qc index c697268eb..cf2c01d97 100644 --- a/qcsrc/client/hud/crosshair.qc +++ b/qcsrc/client/hud/crosshair.qc @@ -229,7 +229,7 @@ void HUD_Crosshair(entity this) if(autocvar_chase_active > 0 && autocvar_crosshair_chase && STAT(HEALTH) <= 0 && csqcplayer) csqcplayer.alpha = csqcplayer.m_alpha; - if (autocvar_chase_active > 0 && autocvar_chase_front) + if (autocvar_chase_active > 0 && (autocvar_chase_front || autocvar_cl_lockview)) { if (csqcplayer.alpha != csqcplayer.m_alpha) HUD_Crosshair_ApplyPlayerAlpha(csqcplayer.m_alpha);