about summary refs log tree commit diff
diff options
context:
space:
mode:
authorscosu <scosu@gmx.de>2008-10-29 16:43:11 +0000
committerscosu <scosu@gmx.de>2008-10-29 16:43:11 +0000
commitfeaab8565d306a7864087d9716fdbcb66f429ec0 (patch)
treef8dd6ca01924a966ec9cde24bfc87a2c78726e82
parent74a5cabce3a94fbbcc8e6f4aae93ac3b5951276d (diff)
downloadzcatch-feaab8565d306a7864087d9716fdbcb66f429ec0.tar.gz
zcatch-feaab8565d306a7864087d9716fdbcb66f429ec0.zip
Changes the max spectator slots to 16
-rw-r--r--src/game/variables.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/variables.hpp b/src/game/variables.hpp
index 228418b3..86472bc3 100644
--- a/src/game/variables.hpp
+++ b/src/game/variables.hpp
@@ -57,7 +57,7 @@ MACRO_CONFIG_STR(sv_gametype, 32, "dm", CFGFLAG_SERVER, "Game type (dm, tdm, ctf
 MACRO_CONFIG_INT(sv_tournament_mode, 0, 0, 1, CFGFLAG_SERVER, "Tournament mode. When enabled, players joins the server as spectator")
 MACRO_CONFIG_INT(sv_spamprotection, 1, 0, 1, CFGFLAG_SERVER, "Spam protection")
 
-MACRO_CONFIG_INT(sv_spectator_slots, 0, 0, 12, CFGFLAG_SERVER, "Number of slots to reserve for spectators")
+MACRO_CONFIG_INT(sv_spectator_slots, 0, 0, MAX_CLIENTS, CFGFLAG_SERVER, "Number of slots to reserve for spectators")
 MACRO_CONFIG_INT(sv_teambalance_time, 1, 0, 1000, CFGFLAG_SERVER, "How many minutes to wait before autobalancing teams")
 
 MACRO_CONFIG_INT(sv_vote_map, 1, 0, 1, CFGFLAG_SERVER, "Allow voting to change map. (see sv_maplist)")