]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Boolerize another pesky float
authorMario <zacjardine@y7mail.com>
Fri, 1 May 2015 19:22:00 +0000 (05:22 +1000)
committerMario <zacjardine@y7mail.com>
Fri, 1 May 2015 19:22:00 +0000 (05:22 +1000)
qcsrc/common/physics.qc

index 0d723c33a069820abed7e588bf86e0e368014972..32ae72f4294591bdf7a10b88a94ae046732c7b17 100644 (file)
@@ -477,7 +477,7 @@ bool PlayerJump (void)
                return true; // no jumping while blocked
 #endif
 
-       float doublejump = false;
+       bool doublejump = false;
        float mjumpheight = PHYS_JUMPVELOCITY;
 
        player_multijump = doublejump;