From faee1b1e9a5c3069aa24df6458d87809cdea1889 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Mon, 9 Dec 2013 18:32:05 -0500 Subject: [PATCH] upgrade this todo to WEAPONTODO :D --- qcsrc/common/weapons/w_shockwave.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.39.2