Don't dequeue the projectile if it's already been done 714/head
authorMario <mario.mario@y7mail.com>
Tue, 10 Sep 2019 11:19:46 +0000 (21:19 +1000)
committerMario <mario.mario@y7mail.com>
Tue, 10 Sep 2019 11:19:46 +0000 (21:19 +1000)
qcsrc/common/weapons/weapon/crylink.qc

index 1b4a1fc..db14a60 100644 (file)
@@ -45,7 +45,8 @@ void W_Crylink_Dequeue(entity e)
 
 void W_Crylink_DeleteLink(entity this)
 {
-       W_Crylink_Dequeue(this);
+       if(this.classname != "spike_oktoremove")
+               W_Crylink_Dequeue(this);
        delete_fn(this);
 }