From d8b92ee09b6032443f0ed6eff7973f292d7a66b6 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Wed, 4 Feb 2015 11:35:45 +0100 Subject: stop embedding/displaying version information in various cases --- src/game/g_main.c | 2 -- src/qcommon/common.c | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src') diff --git a/src/game/g_main.c b/src/game/g_main.c index e388c878..002c83f8 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -156,7 +156,6 @@ static cvarTable_t gameCvarTable[ ] = // noset vars { NULL, "gamename", GAME_VERSION , CVAR_SERVERINFO | CVAR_ROM, 0, qfalse }, - { NULL, "gamedate", __DATE__ , CVAR_ROM, 0, qfalse }, { &g_restarted, "g_restarted", "0", CVAR_ROM, 0, qfalse }, { &g_lockTeamsAtStart, "g_lockTeamsAtStart", "0", CVAR_ROM, 0, qfalse }, { NULL, "sv_mapname", "", CVAR_SERVERINFO | CVAR_ROM, 0, qfalse }, @@ -544,7 +543,6 @@ void G_InitGame( int levelTime, int randomSeed, int restart ) G_Printf( "------- Game Initialization -------\n" ); G_Printf( "gamename: %s\n", GAME_VERSION ); - G_Printf( "gamedate: %s\n", __DATE__ ); BG_InitMemory( ); 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); -- cgit