about summary refs log tree commit diff
path: root/src/game/variables.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-06-19 11:28:39 +0200
committeroy <Tom_Adams@web.de>2011-06-19 11:28:39 +0200
commit957b81af0726d89d820e26750d85849745cd2c9c (patch)
tree2174103c57a5b51b1659b77bd12c53263d6b42e3 /src/game/variables.h
parent601509fe8afc2962e2b74b39fcfcee40b84ebfa8 (diff)
downloadzcatch-957b81af0726d89d820e26750d85849745cd2c9c.tar.gz
zcatch-957b81af0726d89d820e26750d85849745cd2c9c.zip
made it possible to restrict player information in spectator mode
Diffstat (limited to 'src/game/variables.h')
-rw-r--r--src/game/variables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/variables.h b/src/game/variables.h
index ee8cb74a..1d681e1f 100644
--- a/src/game/variables.h
+++ b/src/game/variables.h
@@ -73,6 +73,7 @@ MACRO_CONFIG_INT(SvTeambalanceTime, sv_teambalance_time, 1, 0, 1000, CFGFLAG_SER
 MACRO_CONFIG_INT(SvInactiveKickTime, sv_inactivekick_time, 3, 0, 1000, CFGFLAG_SERVER, "How many minutes to wait before taking care of inactive players")
 MACRO_CONFIG_INT(SvInactiveKick, sv_inactivekick, 1, 0, 2, CFGFLAG_SERVER, "How to deal with inactive players (0=move to spectator, 1=move to free spectator slot/kick, 2=kick)")
 
+MACRO_CONFIG_INT(SvStrictSpectateMode, sv_strict_spectate_mode, 0, 0, 1, CFGFLAG_SERVER, "Restricts information in spectator mode")
 MACRO_CONFIG_INT(SvVoteSpectate, sv_vote_spectate, 1, 0, 1, CFGFLAG_SERVER, "Allow voting to move players to spectators")
 MACRO_CONFIG_INT(SvVoteKick, sv_vote_kick, 1, 0, 1, CFGFLAG_SERVER, "Allow voting to kick players")
 MACRO_CONFIG_INT(SvVoteKickMin, sv_vote_kick_min, 0, 0, MAX_CLIENTS, CFGFLAG_SERVER, "Minimum number of players required to start a kick vote")