]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fall back to the regular Electro combo effect if the new effect doesn't exist, instea...
authorMario <mario.mario@y7mail.com>
Sat, 26 Nov 2022 03:08:24 +0000 (13:08 +1000)
committerMario <mario.mario@y7mail.com>
Sat, 26 Nov 2022 03:08:24 +0000 (13:08 +1000)
qcsrc/common/weapons/weapon/electro.qc

index 5a9fa28887c4846ae0e70f4c986789a7eb2f7cc0..9e0e39d85698b2012eb86f66352410311aeb310c 100644 (file)
@@ -676,7 +676,7 @@ METHOD(Electro, wr_impacteffect, void(entity thiswep, entity actor))
             if(particleeffectnum(EFFECT_ELECTRO_COMBO_LONG) >= 0)
                 pointparticles(EFFECT_ELECTRO_COMBO_LONG, org2, '0 0 0', 1);
             else
-                pointparticles(EFFECT_HOOK_EXPLODE, org2, '0 0 0', 1);
+                pointparticles(EFFECT_ELECTRO_COMBO, org2, '0 0 0', 1);
             if(!w_issilent)
                 sound(actor, CH_SHOTS, SND_ELECTRO_IMPACT_COMBO, VOL_BASE, ATTEN_NORM);
         }