diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-04-28 21:13:54 +0100 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-04-28 21:13:54 +0100 |
commit | 1c6463253885c31ab09c4f1bfeb537646505f273 (patch) | |
tree | 31d4f42cf775f92b81ae76b38937af13634bc906 /src/game/g_local.h | |
parent | e346c3070ecbdb425b50930b10a1b05cbf4b607f (diff) |
Discard players' votes when they leave.
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index af29793..e5463c5 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -713,6 +713,7 @@ typedef struct int voteYes; int voteNo; int numVotingClients; // set by CalculateRanks + int votedHow[MAX_CLIENTS]; // 0 is "hasn't voted", 1 is "voted yes", -1 is voted "no" // team voting state char teamVoteString[ 2 ][ MAX_STRING_CHARS ]; @@ -721,6 +722,7 @@ typedef struct int teamVoteYes[ 2 ]; int teamVoteNo[ 2 ]; int numteamVotingClients[ 2 ]; // set by CalculateRanks + int teamVotedHow[ 2 ][ MAX_CLIENTS ]; // spawn variables qboolean spawning; // the G_Spawn*() functions are valid |