gamename is already a cvar with CVAR_SERVERINFO

do not set gamename to different values in getstatus and getinfo responses
This commit is contained in:
Ludwig Nussel 2009-01-11 18:42:50 +00:00
parent 4de00b3d02
commit 8536a42dd5

View file

@ -413,7 +413,6 @@ void SVC_Info( netadr_t from ) {
va("%i", sv_maxclients->integer - sv_privateClients->integer ) ); va("%i", sv_maxclients->integer - sv_privateClients->integer ) );
Info_SetValueForKey( infostring, "gametype", va("%i", sv_gametype->integer ) ); Info_SetValueForKey( infostring, "gametype", va("%i", sv_gametype->integer ) );
Info_SetValueForKey( infostring, "pure", va("%i", sv_pure->integer ) ); Info_SetValueForKey( infostring, "pure", va("%i", sv_pure->integer ) );
Info_SetValueForKey( infostring, "gamename", GAMENAME_FOR_MASTER );
#ifdef USE_VOIP #ifdef USE_VOIP
if (sv_voip->integer) { if (sv_voip->integer) {