From: Mario Date: Fri, 30 Jul 2021 00:50:34 +0000 (+1000) Subject: Apply a server-side trail to Electro orbs when they become sticky, fixes #2582 X-Git-Tag: xonotic-v0.8.5~363^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b4badbd3965a64142efc8cb275d6af7fe236d2b4;p=xonotic%2Fxonotic-data.pk3dir.git Apply a server-side trail to Electro orbs when they become sticky, fixes #2582 --- diff --git a/qcsrc/common/weapons/weapon/electro.qc b/qcsrc/common/weapons/weapon/electro.qc index 9409819e9..3c6f32e61 100644 --- a/qcsrc/common/weapons/weapon/electro.qc +++ b/qcsrc/common/weapons/weapon/electro.qc @@ -295,6 +295,7 @@ void W_Electro_Orb_Stick(entity this, entity to) setmodel(newproj, MDL_PROJECTILE_ELECTRO); setsize(newproj, this.mins, this.maxs); newproj.angles = vectoangles(-trace_plane_normal); // face against the surface + newproj.traileffectnum = _particleeffectnum(EFFECT_TR_NEXUIZPLASMA.eent_eff_name); newproj.movedir = -trace_plane_normal;