From 2b0e13db53a3904b70c2c11b1aa7fcd33f0cab4d Mon Sep 17 00:00:00 2001 From: def Date: Mon, 31 Aug 2020 12:05:50 +0200 Subject: [PATCH] Add platform and arch in console output --- src/game/client/components/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp index a490a1472..ee0f6806d 100644 --- a/src/game/client/components/console.cpp +++ b/src/game/client/components/console.cpp @@ -710,7 +710,7 @@ void CGameConsole::OnRender() TextRender()->Text(0, 10.0f, FontSize / 2.f, FontSize, aBuf, -1.0f); // render version - str_format(aBuf, sizeof(aBuf), "v%s", GAME_VERSION); + str_copy(aBuf, "v" GAME_VERSION " on " CONF_PLATFORM_STRING " " CONF_ARCH_STRING, sizeof(aBuf)); float Width = TextRender()->TextWidth(0, FontSize, aBuf, -1, -1.0f); TextRender()->Text(0, Screen.w-Width-10.0f, FontSize / 2.f, FontSize, aBuf, -1.0f); }