From c6f49f4ec423917d28b490e51c96ff39cf0586ae Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 11 Jul 2010 12:33:58 +0000 Subject: [PATCH] Fix dedicated servers. git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3545 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_sys_unix.c | 10 +++++----- engine/server/svmodel.c | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/engine/server/sv_sys_unix.c b/engine/server/sv_sys_unix.c index eb714ee31..cffe7663e 100644 --- a/engine/server/sv_sys_unix.c +++ b/engine/server/sv_sys_unix.c @@ -44,11 +44,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // callbacks void Sys_Linebuffer_Callback (struct cvar_s *var, char *oldvalue); -cvar_t sys_nostdout = SCVAR("sys_nostdout","0"); -cvar_t sys_extrasleep = SCVAR("sys_extrasleep","0"); -cvar_t sys_maxtic = SCVAR("sys_maxtic", "100"); -cvar_t sys_colorconsole = SCVAR("sys_colorconsole", "0"); -cvar_t sys_linebuffer = SCVARC("sys_linebuffer", "1", Sys_Linebuffer_Callback); +cvar_t sys_nostdout = CVAR("sys_nostdout","0"); +cvar_t sys_extrasleep = CVAR("sys_extrasleep","0"); +cvar_t sys_maxtic = CVAR("sys_maxtic", "100"); +cvar_t sys_colorconsole = CVAR("sys_colorconsole", "0"); +cvar_t sys_linebuffer = CVARC("sys_linebuffer", "1", Sys_Linebuffer_Callback); qboolean stdin_ready; diff --git a/engine/server/svmodel.c b/engine/server/svmodel.c index 8167f7605..833019afe 100644 --- a/engine/server/svmodel.c +++ b/engine/server/svmodel.c @@ -1201,7 +1201,6 @@ qboolean Mod_LoadLeafs (lump_t *l) out->compressed_vis = NULL; else out->compressed_vis = loadmodel->visdata + p; - out->efrags = NULL; for (j=0 ; j<4 ; j++) out->ambient_sound_level[j] = in->ambient_level[j];