]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
DODGING: comment updated to reflect what the code does
authorFlorian Paul Schmidt <mista.tapas@gmx.net>
Sun, 21 Mar 2010 20:36:44 +0000 (21:36 +0100)
committerFlorian Paul Schmidt <mista.tapas@gmx.net>
Sun, 21 Mar 2010 20:36:44 +0000 (21:36 +0100)
qcsrc/server/mutators/mutator_dodging.qc

index ac7a85a6288da789183e5d05973645ed27460cde..12bb7e600fc9bcf611f7a0d342ad5481aed3b29f 100644 (file)
@@ -168,7 +168,8 @@ MUTATOR_HOOKFUNCTION(dodging_GetPressedKeys) {
 
        height_above_ground = self.origin_z - trace_endpos_z;
 
-       // check if our feet are on the ground or at least close :D
+       // check if our feet are on the ground or at least close or we are
+       // near a wall,,,
        if ((height_above_ground > (fabs(PL_MIN_z) + cvar("sv_dodging_height_threshold")))
                && (check_close_to_wall(cvar("sv_dodging_wall_distance_threshold")) != 1))
                return 0;