From: Mario Date: Tue, 10 Sep 2019 11:19:46 +0000 (+1000) Subject: Don't dequeue the projectile if it's already been done X-Git-Tag: xonotic-v0.8.5~1290^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d4831635f720b2ee2a210c544cd7709d32cc6b92;p=xonotic%2Fxonotic-data.pk3dir.git Don't dequeue the projectile if it's already been done --- diff --git a/qcsrc/common/weapons/weapon/crylink.qc b/qcsrc/common/weapons/weapon/crylink.qc index 1b4a1fc67..db14a6030 100644 --- a/qcsrc/common/weapons/weapon/crylink.qc +++ b/qcsrc/common/weapons/weapon/crylink.qc @@ -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); }