From 109d20ddefe45772a6cde405010e4dfc324af501 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 24 Apr 2018 09:29:23 +0200 Subject: Show the actual version in the version cvar. --- src/qcommon/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/qcommon/common.c b/src/qcommon/common.c index 86d0c135..803fd2f3 100644 --- a/src/qcommon/common.c +++ b/src/qcommon/common.c @@ -2593,7 +2593,7 @@ void Com_Init( char *commandLine ) { com_busyWait = Cvar_Get("com_busyWait", "0", CVAR_ARCHIVE); Cvar_Get("com_errorMessage", "", CVAR_ROM | CVAR_NORESTART); - com_version = Cvar_Get ("version", PRODUCT_NAME, CVAR_ROM | CVAR_SERVERINFO ); + com_version = Cvar_Get ("version", PRODUCT_VERSION, CVAR_ROM | CVAR_SERVERINFO ); Cvar_Get ("protocol", va("%i", PROTOCOL_VERSION), CVAR_SERVERINFO | CVAR_ROM); com_gamename = Cvar_Get("com_gamename", GAMENAME_FOR_MASTER, CVAR_SERVERINFO | CVAR_INIT); -- cgit