]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'Mario/electro_sticky_trail_fix' into 'master'
authorterencehill <piuntn@gmail.com>
Wed, 18 Aug 2021 20:25:02 +0000 (20:25 +0000)
committerterencehill <piuntn@gmail.com>
Wed, 18 Aug 2021 20:25:02 +0000 (20:25 +0000)
Merge branch Mario/electro_sticky_trail_fix (XXS merge request)

Closes #2582

See merge request xonotic/xonotic-data.pk3dir!919

qcsrc/common/weapons/weapon/electro.qc

index 1142bff9d287bc0e864b203051a146227efbd0cf..4a6ee87d5cc16ac5bb008897ba88007994da9813 100644 (file)
@@ -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;