From: Rudolf Polzer Date: Thu, 11 Nov 2010 21:53:33 +0000 (+0100) Subject: fix a missing case X-Git-Tag: xonotic-v0.1.0preview~157 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=56ed1d6f97e264cebea54d559a256b303b3ced8f;p=xonotic%2Fxonotic-data.pk3dir.git fix a missing case --- diff --git a/qcsrc/server/w_crylink.qc b/qcsrc/server/w_crylink.qc index 2dcd433c7..702cefc57 100644 --- a/qcsrc/server/w_crylink.qc +++ b/qcsrc/server/w_crylink.qc @@ -100,6 +100,8 @@ vector W_Crylink_LinkJoin(entity e, float jspeed, float jtime) else w_crylink_linkjoin_time = jtime; } + else + w_crylink_linkjoin_time = avg_dist / jspeed; targ_origin = avg_origin + w_crylink_linkjoin_time * avg_velocity; e.velocity = (targ_origin - e.origin) * (1.0 / w_crylink_linkjoin_time);