From: terencehill Date: Mon, 16 Mar 2020 21:15:01 +0000 (+0100) Subject: Fix #2327 "Giant mg ammo ring when "smooth effects of crosshairs" (crosshair_effect_s... X-Git-Tag: xonotic-v0.8.5~1133^2~19 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e908cd4c4b7cc43237b1ee9378dafea76f004f5c;p=xonotic%2Fxonotic-data.pk3dir.git Fix #2327 "Giant mg ammo ring when "smooth effects of crosshairs" (crosshair_effect_scalefade) is disabled" --- diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index eb341d58c..57cd15a78 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -1420,10 +1420,10 @@ void HUD_Crosshair(entity this) } if (autocvar_crosshair_ring_inner && ring_inner_value) // lets draw a ring inside a ring so you can ring while you ring - DrawCircleClippedPic(wcross_origin, wcross_size.x * ring_scale, ring_inner_image, ring_inner_value, ring_inner_rgb, wcross_alpha * ring_inner_alpha, DRAWFLAG_ADDITIVE); + DrawCircleClippedPic(wcross_origin, wcross_size.x * wcross_resolution * ring_scale, ring_inner_image, ring_inner_value, ring_inner_rgb, wcross_alpha * ring_inner_alpha, DRAWFLAG_ADDITIVE); if (ring_value) - DrawCircleClippedPic(wcross_origin, wcross_size.x * ring_scale, ring_image, ring_value, ring_rgb, wcross_alpha * ring_alpha, DRAWFLAG_ADDITIVE); + DrawCircleClippedPic(wcross_origin, wcross_size.x * wcross_resolution * ring_scale, ring_image, ring_value, ring_rgb, wcross_alpha * ring_alpha, DRAWFLAG_ADDITIVE); } #define CROSSHAIR_DO_BLUR(M,sz,wcross_name,wcross_alpha) \