From 239284f1e1d7f4fc6dbfe8d5a4add1f0ad190d46 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 26 Dec 2017 20:16:10 +1000 Subject: [PATCH] Fix electro orbs sticking to eachother in some cases --- qcsrc/common/weapons/weapon/electro.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/weapons/weapon/electro.qc b/qcsrc/common/weapons/weapon/electro.qc index 5aec7fef9..49bb16a44 100644 --- a/qcsrc/common/weapons/weapon/electro.qc +++ b/qcsrc/common/weapons/weapon/electro.qc @@ -281,7 +281,7 @@ void W_Electro_Orb_Touch(entity this, entity toucher) PROJECTILE_TOUCH(this, toucher); if(toucher.takedamage == DAMAGE_AIM) { if(WEP_CVAR_SEC(electro, touchexplode)) { W_Electro_Explode(this, toucher); } } - else + else if(toucher.owner != this.owner) // don't stick to player's other projectiles! { //UpdateCSQCProjectile(this); spamsound(this, CH_SHOTS, SND_ELECTRO_BOUNCE, VOL_BASE, ATTEN_NORM); -- 2.39.2