]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
upgrade this todo to WEAPONTODO :D
authorSamual Lenks <samual@xonotic.org>
Mon, 9 Dec 2013 23:32:05 +0000 (18:32 -0500)
committerSamual Lenks <samual@xonotic.org>
Mon, 9 Dec 2013 23:32:05 +0000 (18:32 -0500)
qcsrc/common/weapons/w_shockwave.qc

index 5e39c84ea2d93cd4bab8508afb4a0e657ea2453d..0f98789cc1cd0832b3421299fe7ff951230977e0 100644 (file)
@@ -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)))