From f77a6fedcd4e923cb64ae3f0de043b9fdef8b6b8 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 22 Jun 2024 18:54:01 +0200 Subject: [PATCH] Fix arc beam wrongly showing an impact if fired at certain angles and with a small beam range (e.g. g_balance_arc_beam_range 80) --- 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 6fda13104..39066bb14 100644 --- a/qcsrc/common/weapons/weapon/arc.qc +++ b/qcsrc/common/weapons/weapon/arc.qc @@ -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, -- 2.39.2