summaryrefslogtreecommitdiff
path: root/src/qcommon/common.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2015-02-04 11:35:45 +0100
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:07 +0100
commitd8b92ee09b6032443f0ed6eff7973f292d7a66b6 (patch)
tree6d62d7303ddc06fda804fa81b345c2c503e586d5 /src/qcommon/common.c
parent75c29d4f766ada3a6a01522c3608c7693cddfa4f (diff)
stop embedding/displaying version information in various cases
Diffstat (limited to 'src/qcommon/common.c')
-rw-r--r--src/qcommon/common.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/qcommon/common.c b/src/qcommon/common.c
index 275ea4ea..0a91790f 100644
--- a/src/qcommon/common.c
+++ b/src/qcommon/common.c
@@ -2478,11 +2478,8 @@ Com_Init
=================
*/
void Com_Init( char *commandLine ) {
- char *s;
int qport;
- Com_Printf( "%s %s %s\n", Q3_VERSION, PLATFORM_STRING, __DATE__ );
-
if ( setjmp (abortframe) ) {
Sys_Error ("Error during initialization");
}
@@ -2592,8 +2589,7 @@ void Com_Init( char *commandLine ) {
com_busyWait = Cvar_Get("com_busyWait", "0", CVAR_ARCHIVE);
Cvar_Get("com_errorMessage", "", CVAR_ROM | CVAR_NORESTART);
- s = va("%s %s %s", Q3_VERSION, PLATFORM_STRING, __DATE__ );
- com_version = Cvar_Get ("version", s, CVAR_ROM | CVAR_SERVERINFO );
+ com_version = Cvar_Get ("version", PRODUCT_NAME, 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);