diff --git a/qw/source/Makefile.am b/qw/source/Makefile.am index 5d760ed53..c520dc991 100644 --- a/qw/source/Makefile.am +++ b/qw/source/Makefile.am @@ -72,7 +72,7 @@ syssv_SRC= sv_sys_unix.c endif server_SOURCES= crudefile.c sv_ccmds.c sv_console.c sv_cvar.c sv_ents.c \ - sv_init.c sv_main.c sv_misc.c sv_model.c sv_move.c \ + sv_init.c sv_main.c sv_model.c sv_move.c \ sv_nchan.c sv_phys.c sv_pr_cmds.c sv_progs.c sv_send.c \ sv_user.c world.c $(syssv_SRC) diff --git a/qw/source/sv_main.c b/qw/source/sv_main.c index 84be82ffa..f85d16172 100644 --- a/qw/source/sv_main.c +++ b/qw/source/sv_main.c @@ -55,6 +55,7 @@ #include "bothdefs.h" #include "buildnum.h" #include "compat.h" +#include "client.h" //FIXME needed by cls below (for netchan) #include "game.h" #include "net.h" #include "pmove.h" @@ -75,6 +76,7 @@ int host_hunklevel; netadr_t master_adr[MAX_MASTERS]; // address of group servers client_t *host_client; // current client +client_static_t cls; //FIXME needed by netchan :/ // DoS protection // FLOOD_PING, FLOOD_LOG, FLOOD_CONNECT, FLOOD_STATUS, FLOOD_RCON, FLOOD_BAN diff --git a/qw/source/sv_misc.c b/qw/source/sv_misc.c deleted file mode 100644 index d07a09aef..000000000 --- a/qw/source/sv_misc.c +++ /dev/null @@ -1,45 +0,0 @@ -/* - sv_misc.c - - (description) - - Copyright (C) 1996-1997 Id Software, Inc. - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - - See the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to: - - Free Software Foundation, Inc. - 59 Temple Place - Suite 330 - Boston, MA 02111-1307, USA - - $Id$ -*/ - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include "client.h" - -client_static_t cls; - -void -Draw_BeginDisc (void) -{ -} - -void -Draw_EndDisc (void) -{ -}