From: Samual Lenks Date: Fri, 21 Sep 2012 17:26:28 +0000 (-0400) Subject: Whoops, that debug print shouldn't be there ^_^ X-Git-Tag: xonotic-v0.7.0~218^2~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cf31a435672da0411fab456b29b7b3b87280c215;p=xonotic%2Fxonotic-data.pk3dir.git Whoops, that debug print shouldn't be there ^_^ --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index 3c07f6509..eb1bed366 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -65,7 +65,7 @@ void ctf_CalculatePassVelocity(entity flag, vector to, vector from, float turnra float current_distance = vlen((('1 0 0' * to_x) + ('0 1 0' * to_y)) - (('1 0 0' * from_x) + ('0 1 0' * from_y))); // for the sake of this check, exclude Z axis float initial_height = min(autocvar_g_ctf_pass_arc_max, (flag.pass_distance * tanh(autocvar_g_ctf_pass_arc))); float current_height = (initial_height * min(1, (current_distance / flag.pass_distance))); - print("current_height = ", ftos(current_height), ", initial_height = ", ftos(initial_height), ".\n"); + //print("current_height = ", ftos(current_height), ", initial_height = ", ftos(initial_height), ".\n"); vector targpos; if(current_height) // make sure we can actually do this arcing path