From 1139c8795954c420c9f353d97e4de7b3b3368a76 Mon Sep 17 00:00:00 2001 From: "Anton E. Gavrilov" Date: Fri, 9 Jun 2000 18:27:20 +0000 Subject: [PATCH] Remove master_adr; Kill the stupid CVAR_SERVERINFO's. --- source/cl_main.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/source/cl_main.c b/source/cl_main.c index 6feb6a9..2778be1 100644 --- a/source/cl_main.c +++ b/source/cl_main.c @@ -169,8 +169,6 @@ int host_hunklevel; byte *host_basepal; byte *host_colormap; -netadr_t master_adr; // address of the master server - cvar_t *host_speeds; // set for running times cvar_t *show_fps; // set for running times cvar_t *developer; @@ -1267,16 +1265,16 @@ void CL_InitCvars (void) // // info mirrors // - name = Cvar_Get("name", "unnamed", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None"); - password = Cvar_Get("password", "", CVAR_SERVERINFO|CVAR_USERINFO, "None"); - spectator = Cvar_Get("spectator", "", CVAR_SERVERINFO|CVAR_USERINFO, "None"); - skin = Cvar_Get("skin", "", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None"); - team = Cvar_Get("team", "", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None"); - topcolor = Cvar_Get("topcolor", "0", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None"); - bottomcolor = Cvar_Get("bottomcolor", "0", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None"); - rate = Cvar_Get("rate", "2500", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None"); - msg = Cvar_Get("msg", "1", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None"); - noaim = Cvar_Get("noaim", "0", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None"); + name = Cvar_Get("name", "unnamed", CVAR_ARCHIVE|CVAR_USERINFO, "None"); + password = Cvar_Get("password", "", CVAR_USERINFO, "None"); + spectator = Cvar_Get("spectator", "", CVAR_USERINFO, "None"); + skin = Cvar_Get("skin", "", CVAR_ARCHIVE|CVAR_USERINFO, "None"); + team = Cvar_Get("team", "", CVAR_ARCHIVE|CVAR_USERINFO, "None"); + topcolor = Cvar_Get("topcolor", "0", CVAR_ARCHIVE|CVAR_USERINFO, "None"); + bottomcolor = Cvar_Get("bottomcolor", "0", CVAR_ARCHIVE|CVAR_USERINFO, "None"); + rate = Cvar_Get("rate", "2500", CVAR_ARCHIVE|CVAR_USERINFO, "None"); + msg = Cvar_Get("msg", "1", CVAR_ARCHIVE|CVAR_USERINFO, "None"); + noaim = Cvar_Get("noaim", "0", CVAR_ARCHIVE|CVAR_USERINFO, "None"); } /*