]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make TRUE and FALSE booleans
authorMario <zacjardine@y7mail.com>
Sat, 24 Jan 2015 08:46:03 +0000 (19:46 +1100)
committerMario <zacjardine@y7mail.com>
Sat, 24 Jan 2015 08:46:03 +0000 (19:46 +1100)
qcsrc/common/util-pre.qh

index 93db399ec353670f4ee295e92bd33a83698e8410..09aec2d3e4053c0c923b52f0a326ba0836971714 100644 (file)
@@ -13,8 +13,8 @@
 #define bool float
 
 // Boolean Constants
-const float true       = 1;
-const float false      = 0;
-const float TRUE       = 1;
-const float FALSE      = 0;
+const bool true        = 1;
+const bool false       = 0;
+const bool TRUE        = 1;
+const bool FALSE       = 0;
 #endif