]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Turn WAYPOINT_VERSION into a constant
authorterencehill <piuntn@gmail.com>
Thu, 2 Aug 2018 12:37:39 +0000 (14:37 +0200)
committerterencehill <piuntn@gmail.com>
Thu, 2 Aug 2018 12:37:39 +0000 (14:37 +0200)
qcsrc/server/bot/default/waypoints.qh

index 595c2d058fcc1cd82fa1a082ffd29096f90adc3b..fa552d883a034160c2838eb1cfc8ae6fe0284720 100644 (file)
@@ -6,7 +6,7 @@
 // increase by 0.01 when changes require only waypoint relinking
 // increase by 1 when changes require to manually edit waypoints
 // max 2 decimal places, always specified
-#define WAYPOINT_VERSION 1.01
+const float WAYPOINT_VERSION = 1.01;
 
 // fields you can query using prvm_global server to get some statistics about waypoint linking culling
 float relink_total, relink_walkculled, relink_pvsculled, relink_lengthculled;