summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-04-24 21:15:23 +0000
committerTim Angus <tim@ngus.net>2006-04-24 21:15:23 +0000
commit0d8159469509638abe5cecff2a52ab2ef768be0c (patch)
treee6e10e8d05f2ab9cde27b13fe9b564b7e4b2e356 /src/game/g_local.h
parent14686f71ad46b7a81c3b747b05dd5a96297ff92c (diff)
* Limit on number of times votes can be called, defaulting to 5 (from tjw)
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 8c9c87f3..a6009908 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -298,7 +298,6 @@ typedef struct
} clientSession_t;
#define MAX_NETNAME 36
-#define MAX_VOTE_COUNT 3
// data to store details of clients that have abnormally disconnected
typedef struct connectionRecord_s
@@ -325,7 +324,6 @@ typedef struct
int enterTime; // level.time the client entered the game
playerTeamState_t teamState; // status in teamplay games
int voteCount; // to prevent people from constantly calling votes
- int teamVoteCount; // to prevent people from constantly calling votes
qboolean teamInfo; // send team overlay updates?
pClass_t classSelection; //TA: player class (copied to ent->client->ps.stats[ STAT_PCLASS ] once spawned)
@@ -1045,6 +1043,7 @@ extern vmCvar_t g_warmup;
extern vmCvar_t g_doWarmup;
extern vmCvar_t g_blood;
extern vmCvar_t g_allowVote;
+extern vmCvar_t g_voteLimit;
extern vmCvar_t g_teamAutoJoin;
extern vmCvar_t g_teamForceBalance;
extern vmCvar_t g_banIPs;