]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
minigames: handle program specific definitions internally
authorTimePath <andrew.hardaker1995@gmail.com>
Wed, 23 Dec 2015 08:45:49 +0000 (19:45 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Wed, 23 Dec 2015 08:45:49 +0000 (19:45 +1100)
qcsrc/common/_all.inc
qcsrc/common/minigames/minigames.qc

index 5b0339077775424f2ccb2fd10539013d1d258517..f955949ae1b647a363b45e21cb1646ae6d077b0d 100644 (file)
 #ifndef MENUQC
 #include "minigames/minigames.qc"
 #endif
-#ifdef CSQC
-#include "minigames/cl_minigames.qc"
-#endif
-#ifdef SVQC
-#include "minigames/sv_minigames.qc"
-#endif
 
 #include "debug.qh"
 
index 8a29bc297f89246abefdbe0773c6f0f42af7ba10..2a632339c08acbde4928c29122a87168bc56e43b 100644 (file)
@@ -138,3 +138,10 @@ int minigame_count_players(entity minigame)
                pl_num++;
        return pl_num;
 }
+
+#ifdef CSQC
+#include "cl_minigames.qc"
+#endif
+#ifdef SVQC
+#include "sv_minigames.qc"
+#endif