]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Whoops, that debug print shouldn't be there ^_^
authorSamual Lenks <samual@xonotic.org>
Fri, 21 Sep 2012 17:26:28 +0000 (13:26 -0400)
committerSamual Lenks <samual@xonotic.org>
Fri, 21 Sep 2012 17:26:28 +0000 (13:26 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index 3c07f6509300e373fb573d31b24149670389be78..eb1bed36674f93e5b7d0cde04581d0aec0026cb7 100644 (file)
@@ -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