]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/keyhunt.qc
Get VoreTournament code to compile with gmqcc. To be compiled with the same parameter...
[voretournament/voretournament.git] / data / qcsrc / server / keyhunt.qc
index 7ffc580a9ed45543b175e58f3712bb823a91e466..9e35d16aa2746f2a55b5e62c22703a200b0befff 100644 (file)
@@ -33,7 +33,14 @@ float kh_no_radar_circles;
 .float siren_time;  //  time delay the siren\r
 //.float stuff_time;  //  time delay to stuffcmd a cvar\r
 \r
-float test[17] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};\r
+// sigh GMQCC needs to implement this yet.\r
+float test[17]\r
+#ifndef GMQCC\r
+= {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};\r
+#else\r
+;\r
+#endif\r
+\r
 //test[0] = status of dropped keys, test[1 - 16] = player #\r
 //replace 17 with cvar("maxplayers") or similar !!!!!!!!!\r
 //for(i = 0; i < maxplayers; ++i)\r