/* 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 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. $Id: sv_master.c 643 2007-07-20 13:09:29Z d3urk $ */ // sv_master.c - send heartbeats to master server #include "qwsvdef.h" #define HEARTBEAT_SECONDS 300 static netadr_t master_adr[MAX_MASTERS]; // address of group servers /* ==================== SV_SetMaster_f Make a master server current ==================== */ void SV_SetMaster_f (void) { char data[2]; int i; memset (&master_adr, 0, sizeof(master_adr)); for (i=1 ; i