From: Martin Taibr Date: Wed, 12 Feb 2020 15:24:30 +0000 (+0100) Subject: print which QC version it is X-Git-Tag: xonotic-v0.8.5~1145^2~9^2~1 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=8b89826842df423481a29947f84f9cf7fcfc5a00;hp=0c6cb9bc1899d5afcdd4b7a11c3cfae3e15e0fb8 print which QC version it is --- diff --git a/qcsrc/common/debug.qh b/qcsrc/common/debug.qh index a12d9ffc21..3091aecdf3 100644 --- a/qcsrc/common/debug.qh +++ b/qcsrc/common/debug.qh @@ -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: