From: Samual Lenks Date: Mon, 9 Dec 2013 23:32:05 +0000 (-0500) Subject: upgrade this todo to WEAPONTODO :D X-Git-Tag: xonotic-v0.8.0~152^2~262 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=faee1b1e9a5c3069aa24df6458d87809cdea1889;p=xonotic%2Fxonotic-data.pk3dir.git upgrade this todo to WEAPONTODO :D --- diff --git a/qcsrc/common/weapons/w_shockwave.qc b/qcsrc/common/weapons/w_shockwave.qc index 5e39c84ea..0f98789cc 100644 --- a/qcsrc/common/weapons/w_shockwave.qc +++ b/qcsrc/common/weapons/w_shockwave.qc @@ -604,7 +604,7 @@ void W_Shockwave_Attack() vector nearest_on_line = (w_shotorg + a * w_shotdir); vector nearest_to_attacker = WarpZoneLib_NearestPointOnBox(center + head.mins, center + head.maxs, nearest_on_line); - float distance_to_target = vlen(w_shotorg - nearest_to_attacker); // todo: use the findradius function for this + float distance_to_target = vlen(w_shotorg - nearest_to_attacker); // WEAPONTODO: use the findradius function for this if((distance_to_target <= WEP_CVAR(shockwave, blast_distance)) && (W_Shockwave_Attack_IsVisible(head, nearest_on_line, w_shotorg, attack_endpos)))