]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/ctf.qc
don't compile the ctf example
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / ctf.qc
index 0a5375f51dcf1c22cf278ec4114edfa0c7585100..651a8e62bc8686cb862b1bbd9f821178a26381fc 100644 (file)
@@ -1,4 +1,5 @@
-//include "main.qh"
+#ifdef CTF_EXAMPLE
+
 // NOTE: This file contains lots of debugging stuff
 // it is not really used... can be seen as another sample...
 
@@ -214,3 +215,5 @@ void() ctf_view =
                drawstring('0 0 0', "Awaiting orders...", '8 8 0', '1 1 1', 0.5, 0);
        }
 };
+
+#endif