print which QC version it is
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / debug.qh
index a12d9ffc216f6586bd166175136602778c8e4ffc..3091aecdf394da3567137ade7dec90b8e92f5133 100644 (file)
@@ -224,7 +224,13 @@ GENERIC_COMMAND(version, "Print the current version", false)
        {
                case CMD_REQUEST_COMMAND:
                {
-                       LOG_INFO(WATERMARK);
+#if defined(CSQC)
+                       LOG_INFO("CSQC version: ", WATERMARK);
+#elif defined(SVQC)
+                       LOG_INFO("SVQC version: ", WATERMARK);
+#elif defined(MENUQC)
+                       LOG_INFO("MENUQC version: ", WATERMARK);
+#endif
                        return;
                }
                default: