]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Figured out why it crashed, time to fix the other leaks
authorMario <zacjardine@y7mail.com>
Sat, 24 Jan 2015 07:47:09 +0000 (18:47 +1100)
committerMario <zacjardine@y7mail.com>
Sat, 24 Jan 2015 07:47:09 +0000 (18:47 +1100)
qcsrc/common/constants.qh
qcsrc/menu/xonotic/playermodel.c
qcsrc/server/command/getreplies.qh

index 2d8972befa45119a1d455d93aba0874a39d0d406..07cf482f2791cb3c59f118ddce25bbd13743f5ec 100644 (file)
@@ -176,7 +176,7 @@ const float SFL_SORT_PRIO_MASK = 12;
  * Score indices
  */
 #define MAX_SCORE 10
-const float MAX_TEAMSCORE = 2;
+#define MAX_TEAMSCORE 2
 
 const float ST_SCORE = 0;
 const float SP_KILLS = 0;
index 55e3b774697bea5ccd394fb2d0a3c0a56b623c83..0a0d6f940501baea35409567f5e0696ed6ecbc79 100644 (file)
@@ -43,7 +43,7 @@ const float BUFMODELS_SKIN = 3;
 const float BUFMODELS_DESC = 4;
 const float BUFMODELS_COUNT = 5;
 
-const float XONVOTE186 = 1; // (nyov) removal of model text description
+#define XONVOTE186 1 // (nyov) removal of model text description
 
 void XonoticPlayerModelSelector_configureXonoticPlayerModelSelector(entity me)
 {
index 4a804309118d1bb5dd084647a9c38444d8950749..d2b1395e8952479ac99da860dd1ee11928b51119 100644 (file)
@@ -5,7 +5,7 @@
 
 // ladder bullshit todo
 const float LADDER_FIRSTPOINT = 100;
-const float LADDER_CNT = 10; // position X still gives LADDER_FIRSTPOINT/X points
+#define 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];