diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-04-04 20:45:13 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-04-04 20:45:13 +0000 |
commit | 22fd6efeeb7ee918e0d1ffb75f6292077ce27816 (patch) | |
tree | 7b355fc4aa8a7c63aac93af54fb229f678ef552c /source/sv_main.c | |
parent | 7ec50f12252b4dfb97f3249ccf05a771b98785c1 (diff) |
Added support for drawing colored text via `draw' client command.
Cvar_Get now resets user defined cvar values for read-only cvars.
Sever and game DLL features are now advertised via cvars instead of exports.
Diffstat (limited to 'source/sv_main.c')
-rw-r--r-- | source/sv_main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/sv_main.c b/source/sv_main.c index b27e75d..7b4802d 100644 --- a/source/sv_main.c +++ b/source/sv_main.c @@ -84,7 +84,7 @@ cvar_t *sv_status_show; cvar_t *sv_uptime; cvar_t *sv_badauth_time; -cvar_t *sv_nextserver; +cvar_t *g_features; //============================================================================ @@ -1780,7 +1780,6 @@ void SV_Init( void ) { #endif sv_iplimit = Cvar_Get( "sv_iplimit", "3", 0 ); - sv_nextserver = Cvar_Get( "nextserver", "", 0 ); sv_status_show = Cvar_Get( "sv_status_show", "2", 0 ); @@ -1792,6 +1791,9 @@ void SV_Init( void ) { sv_badauth_time = Cvar_Get( "sv_badauth_time", "1", 0 ); sv_badauth_time->changed = sv_badauth_time_changed; + Cvar_Get( "sv_features", va( "%d", GMF_CLIENTNUM|GMF_MVDSPEC ), CVAR_ROM ); + g_features = Cvar_Get( "g_features", NULL, CVAR_USER_CREATED ); + // // set up default pmove parameters // |