From ba7d62fdf90db5bfd5f44bfaefc2bf8cdf44f5a6 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Sun, 8 Dec 2013 02:50:28 -0500 Subject: [PATCH] Add reminder --- qcsrc/common/weapons/w_shockwave.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/common/weapons/w_shockwave.qc b/qcsrc/common/weapons/w_shockwave.qc index 228c905ad..c8e6cb768 100644 --- a/qcsrc/common/weapons/w_shockwave.qc +++ b/qcsrc/common/weapons/w_shockwave.qc @@ -440,6 +440,7 @@ void W_Shockwave_Attack() h = vlen(center - self.origin); ang = acos(dotproduct(normalize(center - self.origin), w_shotdir)); a = h * cos(ang); + // WEAPONTODO: replace with simpler method vector nearest_on_line = (w_shotorg + a * w_shotdir); vector nearest_to_attacker = WarpZoneLib_NearestPointOnBox(center + head.mins, center + head.maxs, nearest_on_line); -- 2.39.2