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 259fef6..9988e55 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)