summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-18 17:42:10 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:55 +0000
commitc4c6f67a49e33d14e24d56d0082f153797cd30f8 (patch)
treebbb86b9ed4128709a28713fe6bd89f15f84c9687 /src/game/g_local.h
parent5840d24c078ea3dacc1a0556ee5e98ba4a557682 (diff)
* (bug 4309) Add options to !restart that allow for keeping/switching player teams, and optionally also to lock them.
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 3bd703fc..81f45505 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -275,6 +275,7 @@ typedef struct
int spectatorTime; // for determining next-in-line to play
spectatorState_t spectatorState;
int spectatorClient; // for chasecam and follow mode
+ team_t restartTeam; //for !restart keepteams and !restart switchteams
clientList_t ignoreList;
} clientSession_t;
@@ -1040,6 +1041,7 @@ extern vmCvar_t g_cheats;
extern vmCvar_t g_maxclients; // allow this many total, including spectators
extern vmCvar_t g_maxGameClients; // allow this many active
extern vmCvar_t g_restarted;
+extern vmCvar_t g_lockTeamsAtStart;
extern vmCvar_t g_minCommandPeriod;
extern vmCvar_t g_minNameChangePeriod;
extern vmCvar_t g_maxNameChanges;