]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix arc beam wrongly showing an impact if fired at certain angles and with a small...
authorterencehill <piuntn@gmail.com>
Sat, 22 Jun 2024 16:54:01 +0000 (18:54 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 22 Jun 2024 16:54:01 +0000 (18:54 +0200)
qcsrc/common/weapons/weapon/arc.qc

index 6fda1310431cebf481ba578249c9dfca447b6109..39066bb149cfb8861ae3b4a14f0ddcacc71c434f 100644 (file)
@@ -1166,7 +1166,7 @@ void Draw_ArcBeam(entity this)
        // visual effects for startpoint and endpoint
        if(this.beam_hiteffect)
        {
-               if((trace_ent || trace_fraction < 1) && !(trace_dphitq3surfaceflags & Q3SURFACEFLAG_NOIMPACT))
+               if(trace_fraction < 1 && !(trace_dphitq3surfaceflags & Q3SURFACEFLAG_NOIMPACT))
                pointparticles(
                        this.beam_hiteffect,
                        last_origin,