]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix #2589
authordrjaska <drjaska83@gmail.com>
Fri, 14 Jun 2024 19:47:59 +0000 (22:47 +0300)
committerdrjaska <drjaska83@gmail.com>
Fri, 14 Jun 2024 19:47:59 +0000 (22:47 +0300)
qcsrc/common/weapons/weapon/arc.qc

index 981d8d3f091fb2cfb83b61fe564c4727ecf04522..b90d80073c9cbdaf01189d6a2a145f51fc34e2a1 100644 (file)
@@ -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