summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-08-10 20:03:13 +0200
committerGitHub <noreply@github.com>2021-08-10 20:03:13 +0200
commit4c1ea4020d797e2ddb086cc73109eb8c51cbbbdb (patch)
treebc8b65fe81b89f8d73e3dcd27ad458fcc0f35ffd /src/settings_type.h
parent8a083cd7f81d8223f08c30d5bcb2d9c38e7556a4 (diff)
downloadopenttd-4c1ea4020d797e2ddb086cc73109eb8c51cbbbdb.tar.xz
Change: remove the ability to control "max spectators" (#9466)
Soon we will make "join game" join the game as spectator first, so limiting the amount of spectators makes no sense anymore in that context. Not sure it ever did make sense.
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index ababe718b..05833cdb0 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -291,7 +291,6 @@ struct NetworkSettings {
uint8 autoclean_novehicles; ///< remove companies with no vehicles after this many months
uint8 max_companies; ///< maximum amount of companies
uint8 max_clients; ///< maximum amount of clients
- uint8 max_spectators; ///< maximum amount of spectators
Year restart_game_year; ///< year the server restarts
uint8 min_active_clients; ///< minimum amount of active clients to unpause the game
bool reload_cfg; ///< reload the config file before restarting