From: Martin Taibr Date: Thu, 13 Feb 2020 18:08:00 +0000 (+0100) Subject: simplify version cmd using PROGNAME X-Git-Tag: xonotic-v0.8.5~1145^2~9^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c60e5268d1f782743e6f7fb8c27d0f04d7a4c13e;p=xonotic%2Fxonotic-data.pk3dir.git simplify version cmd using PROGNAME --- diff --git a/qcsrc/common/debug.qh b/qcsrc/common/debug.qh index 3091aecdf..e5012f8cc 100644 --- a/qcsrc/common/debug.qh +++ b/qcsrc/common/debug.qh @@ -224,13 +224,7 @@ GENERIC_COMMAND(version, "Print the current version", false) { case CMD_REQUEST_COMMAND: { -#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 + LOG_INFO(PROGNAME, " version: ", WATERMARK); return; } default: