]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/getreplies.qh
Turn #define'd constants into actual constants
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / getreplies.qh
index 583961d2246db10ce3907b411672100a92589b93..4a804309118d1bb5dd084647a9c38444d8950749 100644 (file)
@@ -4,9 +4,9 @@
 // ======================================================
 
 // ladder bullshit todo
-#define LADDER_FIRSTPOINT 100
-#define LADDER_CNT 10 // position X still gives LADDER_FIRSTPOINT/X points
-#define LADDER_SIZE 30         // ladder shows the top X players
+const float LADDER_FIRSTPOINT = 100;
+const float LADDER_CNT = 10; // position X still gives LADDER_FIRSTPOINT/X points
+const float LADDER_SIZE = 30;  // ladder shows the top X players
 
 string top_uids[LADDER_SIZE];
 float top_scores[LADDER_SIZE];