]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix electro orbs not sticking to entities properly
authorMario <mario@smbclan.net>
Sat, 13 Oct 2018 06:25:44 +0000 (16:25 +1000)
committerMario <mario@smbclan.net>
Sat, 13 Oct 2018 06:25:44 +0000 (16:25 +1000)
qcsrc/common/weapons/weapon/electro.qc

index 259fef6d5e6c745af684bb77db8c1f2e117a08fb..9988e55b8ab2865efa270220e925205ec389a1e4 100644 (file)
@@ -279,7 +279,7 @@ void W_Electro_Orb_Stick(entity this, entity to)
        delete(this);
 
        if(to)
-               SetMovetypeFollow(this, to);
+               SetMovetypeFollow(newproj, to);
 }
 
 void W_Electro_Orb_Touch(entity this, entity toucher)