From 1dc7e94283f026b17c1e793cbf7542872812ffda Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 28 Dec 2005 02:32:43 +0000 Subject: * Added master server to source, based on dpmaster * Removed gametype, fraglimit and dmflags cvars * Removed CD key authentication stuff * Implemented a means to save and restore cmd context * Bumped protocol version up to 69 (same as 68) * Removed various references to punkbuster * Maps on create server menu now sorted by name * Fixed some warnings --- src/server/sv_init.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/server/sv_init.c') diff --git a/src/server/sv_init.c b/src/server/sv_init.c index e484edcc..3d08b6ea 100644 --- a/src/server/sv_init.c +++ b/src/server/sv_init.c @@ -442,9 +442,6 @@ void SV_SpawnServer( char *server, qboolean killBots ) { // load and spawn all other entities SV_InitGameProgs(); - // don't allow a map_restart if game is modified - sv_gametype->modified = qfalse; - // run a few frames to allow everything to settle for (i = 0;i < 3; i++) { @@ -572,10 +569,7 @@ void SV_Init (void) { SV_AddOperatorCommands (); // serverinfo vars - Cvar_Get ("dmflags", "0", CVAR_SERVERINFO); - Cvar_Get ("fraglimit", "20", CVAR_SERVERINFO); Cvar_Get ("timelimit", "0", CVAR_SERVERINFO); - sv_gametype = Cvar_Get ("g_gametype", "0", CVAR_SERVERINFO | CVAR_LATCH ); Cvar_Get ("sv_keywords", "", CVAR_SERVERINFO); Cvar_Get ("protocol", va("%i", PROTOCOL_VERSION), CVAR_SERVERINFO | CVAR_ROM); sv_mapname = Cvar_Get ("mapname", "nomap", CVAR_SERVERINFO | CVAR_ROM); -- cgit