summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-04-24 09:29:23 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-04-24 09:29:23 +0200
commit109d20ddefe45772a6cde405010e4dfc324af501 (patch)
treebabedcb1af7aee05f1f7128c6bc43630895bc024 /src/qcommon
parentac15175923f6d211c98dbc2b7213792517364b6c (diff)
Show the actual version in the version cvar.HEADmaster
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/common.c2
1 files changed, 1 insertions, 1 deletions
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);