From: Mario Date: Sat, 13 Oct 2018 06:25:44 +0000 (+1000) Subject: Fix electro orbs not sticking to entities properly X-Git-Tag: xonotic-v0.8.5~1779 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c517dee6e00d0bbcc849c3cc9e0a688292eccb91;p=xonotic%2Fxonotic-data.pk3dir.git Fix electro orbs not sticking to entities properly --- diff --git a/qcsrc/common/weapons/weapon/electro.qc b/qcsrc/common/weapons/weapon/electro.qc index 259fef6d5..9988e55b8 100644 --- a/qcsrc/common/weapons/weapon/electro.qc +++ b/qcsrc/common/weapons/weapon/electro.qc @@ -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)