]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/havocbot/role_onslaught.qc
Turn #define'd constants into actual constants
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / havocbot / role_onslaught.qc
index dc942a38212fc4bbb0d47f77a3508df42798e517..bf5a6438934b309900e33a8f122f32c1ad4c970e 100644 (file)
@@ -1,7 +1,7 @@
-#define HAVOCBOT_ONS_ROLE_NONE                 0
-#define HAVOCBOT_ONS_ROLE_DEFENSE      2
-#define HAVOCBOT_ONS_ROLE_ASSISTANT    4
-#define HAVOCBOT_ONS_ROLE_OFFENSE      8
+const float HAVOCBOT_ONS_ROLE_NONE             = 0;
+const float HAVOCBOT_ONS_ROLE_DEFENSE  = 2;
+const float HAVOCBOT_ONS_ROLE_ASSISTANT = 4;
+const float HAVOCBOT_ONS_ROLE_OFFENSE  = 8;
 
 .float havocbot_role_flags;
 .float havocbot_attack_time;