]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix dodging not working
authorTimePath <andrew.hardaker1995@gmail.com>
Thu, 11 Dec 2014 04:46:13 +0000 (15:46 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Thu, 11 Dec 2014 04:46:13 +0000 (15:46 +1100)
qcsrc/server/mutators/mutator_dodging.qc

index 9de886a4570100ebe4e7030072b1a0dfe1e0a198..2bd794f1b3b29d49c46788665326a58509430102 100644 (file)
@@ -146,7 +146,7 @@ float check_close_to_wall(float threshold)
 
 float check_close_to_ground(float threshold)
 {
-       return IS_ONGROUND(self);
+       return IS_ONGROUND(self) ? TRUE : FALSE;
 }
 
 void PM_dodging_checkpressedkeys()