Make number of supported master servers tunable via define

This commit is contained in:
Thilo Schulz 2011-01-25 02:04:25 +00:00
parent bf07014b1d
commit 5c0ae99642
4 changed files with 13 additions and 15 deletions

View file

@ -212,10 +212,6 @@ typedef struct {
qboolean connected;
} challenge_t;
#define MAX_MASTERS 8 // max recipients for heartbeat packets
// this structure will be cleared only when the game dll changes
typedef struct {
qboolean initialized; // sv_init has completed
@ -252,8 +248,6 @@ extern serverStatic_t svs; // persistant server info across maps
extern server_t sv; // cleared each map
extern vm_t *gvm; // game virtual machine
#define MAX_MASTER_SERVERS 5
extern cvar_t *sv_fps;
extern cvar_t *sv_timeout;
extern cvar_t *sv_zombietime;