diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2009-10-18 17:42:10 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:55 +0000 |
commit | c4c6f67a49e33d14e24d56d0082f153797cd30f8 (patch) | |
tree | bbb86b9ed4128709a28713fe6bd89f15f84c9687 /src/game/g_local.h | |
parent | 5840d24c078ea3dacc1a0556ee5e98ba4a557682 (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.h | 2 |
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; |