From: drjaska Date: Fri, 14 Jun 2024 19:47:59 +0000 (+0300) Subject: fix #2589 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c958bd211fa53c133011794c75558fab9876323a;p=xonotic%2Fxonotic-data.pk3dir.git fix #2589 --- 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