From: terencehill <piuntn@gmail.com>
Date: Thu, 2 Aug 2018 12:37:39 +0000 (+0200)
Subject: Turn WAYPOINT_VERSION into a constant
X-Git-Tag: xonotic-v0.8.5~1942
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8b923417b85c6719e889f0a11ef78251e467877f;p=xonotic%2Fxonotic-data.pk3dir.git

Turn WAYPOINT_VERSION into a constant
---

diff --git a/qcsrc/server/bot/default/waypoints.qh b/qcsrc/server/bot/default/waypoints.qh
index 595c2d058..fa552d883 100644
--- a/qcsrc/server/bot/default/waypoints.qh
+++ b/qcsrc/server/bot/default/waypoints.qh
@@ -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;