summaryrefslogtreecommitdiff
path: root/source/sv_main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-05-18 14:37:21 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-05-18 14:37:21 +0000
commitcb43ed08c3cf6410fe4ce22dac3d07952db92893 (patch)
tree0b2b2790941743db47913cdf06b819c36b89e161 /source/sv_main.c
parent179f701f7aec100ac1228fc02778fc4af47b75f0 (diff)
Accept `all' as special argument to `delstuffcmd' command.
Cleaned up Cvar_Get and fixed semantic bug. Accept `background keyword in menu scripts. Renamed `gl_fastsky' to `gl_drawsky'. If at least one of the sky env maps fails lo load, disable entire sky drawing. Reworked loading screen. Fixed Com_Quit argument string handling. Catch more signals on *nix. Updated server docs.
Diffstat (limited to 'source/sv_main.c')
-rw-r--r--source/sv_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sv_main.c b/source/sv_main.c
index 7a89ad8..2beeb23 100644
--- a/source/sv_main.c
+++ b/source/sv_main.c
@@ -1796,7 +1796,7 @@ void SV_Init( void ) {
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 );
+ g_features = Cvar_Ref( "g_features" );
//
// set up default pmove parameters