From c958bd211fa53c133011794c75558fab9876323a Mon Sep 17 00:00:00 2001 From: drjaska Date: Fri, 14 Jun 2024 22:47:59 +0300 Subject: [PATCH] fix #2589 --- qcsrc/common/weapons/weapon/arc.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/weapons/weapon/arc.qc b/qcsrc/common/weapons/weapon/arc.qc index 981d8d3f0..b90d80073 100644 --- a/qcsrc/common/weapons/weapon/arc.qc +++ b/qcsrc/common/weapons/weapon/arc.qc @@ -840,7 +840,7 @@ void Draw_ArcBeam_callback(vector start, vector hit, vector end) vector last_bottom = WarpZone_TransformOrigin(WarpZone_trace_transform, Draw_ArcBeam_callback_last_bottom); if(autocvar_cl_arcbeam_simple) - Draw_CylindricLine(start, end, thickness, beam.beam_image, 0.25, -time * 3, beam.beam_color, beam.beam_alpha, DRAWFLAG_NORMAL, transformed_view_org); + Draw_CylindricLine(start, hit, thickness, beam.beam_image, 0.25, -time * 3, beam.beam_color, beam.beam_alpha, DRAWFLAG_NORMAL, transformed_view_org); else { R_BeginPolygon(beam.beam_image, DRAWFLAG_NORMAL, false); // DRAWFLAG_ADDITIVE -- 2.39.2