diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-09-27 11:36:43 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-09-27 11:36:43 +0000 |
commit | 5605c38c909aaa905684b79a48ccd0abb43dc685 (patch) | |
tree | f1e2b1ef297d0f0eae5a86284c5da7f0919643f3 /source/sv_main.c | |
parent | b26baea5a78c8d2487544e3f162d9e4da93121e9 (diff) |
Use `sv_features', `g_features' and `fs_gamedir' cvars instead of environment
variables for communications between server and the game DLL.
Fixed reverted `no PHS' check on sounds MVD client did.
Diffstat (limited to 'source/sv_main.c')
-rw-r--r-- | source/sv_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/sv_main.c b/source/sv_main.c index 01d5d58..baefaef 100644 --- a/source/sv_main.c +++ b/source/sv_main.c @@ -91,7 +91,7 @@ cvar_t *sv_status_show; cvar_t *sv_uptime; cvar_t *sv_badauth_time; -//cvar_t *g_features; +cvar_t *g_features; //============================================================================ @@ -1852,8 +1852,8 @@ 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_Ref( "g_features" ); + Cvar_Get( "sv_features", va( "%d", GMF_CLIENTNUM|GMF_MVDSPEC ), CVAR_ROM ); + g_features = Cvar_Get( "g_features", "0", CVAR_ROM ); // set up default pmove parameters sv_pmp.maxspeed = 300; |