]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add reminder
authorSamual Lenks <samual@xonotic.org>
Sun, 8 Dec 2013 07:50:28 +0000 (02:50 -0500)
committerSamual Lenks <samual@xonotic.org>
Sun, 8 Dec 2013 07:50:28 +0000 (02:50 -0500)
qcsrc/common/weapons/w_shockwave.qc

index 228c905ada97af866084a606626997e9a9466942..c8e6cb76898383ea00af03fd8c514814a6655ae2 100644 (file)
@@ -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);