]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 1b4a1fc6765425a8e40fab81e5e65a81a973ffe4..db14a603068f47d3b9c267cad6369b2573359dd7 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);
 }