]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
i am sure that's what the author meant
authorMartin Taibr <taibr.martin@gmail.com>
Sat, 12 Aug 2017 15:57:52 +0000 (17:57 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Sat, 12 Aug 2017 15:57:52 +0000 (17:57 +0200)
qcsrc/common/mutators/mutator/dodging/sv_dodging.qc

index cae688eca1dd2b40224269d6d4c55bea371f1caa..7a572445742f99866911114b428bff4dbd3354ac 100644 (file)
@@ -166,7 +166,7 @@ bool PM_dodging_checkpressedkeys(entity this)
        {
                wall_dodge = (PHYS_DODGING_WALL && is_close_to_wall(this, PHYS_DODGING_DISTANCE_THRESHOLD));
                if(!wall_dodge) // we're not on the ground, and wall dodging isn't allowed, end it!
-                       return true;
+                       return false;
        }
 
        if(!wall_dodge && PHYS_DODGING_MAXSPEED && vdist(this.velocity, >, PHYS_DODGING_MAXSPEED))