From: Rudolf Polzer Date: Fri, 28 Jan 2011 07:45:05 +0000 (+0100) Subject: crylink: add some more CheckLinks calls... maybe this will figure out where the probl... X-Git-Tag: xonotic-v0.5.0~316^2~14 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=74d1c4edf5730087d9d7206d2dea3b07f66d4f76;p=xonotic%2Fxonotic-data.pk3dir.git crylink: add some more CheckLinks calls... maybe this will figure out where the problem is --- diff --git a/qcsrc/server/w_crylink.qc b/qcsrc/server/w_crylink.qc index 8a3380eae..8c23bae7f 100644 --- a/qcsrc/server/w_crylink.qc +++ b/qcsrc/server/w_crylink.qc @@ -32,10 +32,13 @@ void W_Crylink_CheckLinks(entity e) void W_Crylink_Dequeue_Raw(entity own, entity prev, entity me, entity next) { + W_Crylink_CheckLinks(next); if(me == own.crylink_lastgroup) own.crylink_lastgroup = ((me == next) ? world : next); prev.queuenext = next; next.queueprev = prev; + if(me != next) + W_Crylink_CheckLinks(next); } void W_Crylink_Dequeue(entity e) @@ -151,6 +154,8 @@ vector W_Crylink_LinkJoin(entity e, float jspeed, float jtime) // p->velocity -> HUEG away from center } + W_Crylink_CheckLinks(e); + return targ_origin; } @@ -414,6 +419,7 @@ void W_Crylink_Attack (void) counter = counter + 1; } self.crylink_lastgroup = proj; + W_Crylink_CheckLinks(proj); } void W_Crylink_Attack2 (void)