summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-02-11 21:41:49 +0000
committerpeter1138 <peter1138@openttd.org>2006-02-11 21:41:49 +0000
commitf34971d09411f3ae7c39dbffd39a60d69f3f8f6e (patch)
tree6d616f3b301f7863eccdb86bf3877f17c44510a1
parent49c371002e0b890d36efe172ea6db1114a0f22e5 (diff)
downloadopenttd-f34971d09411f3ae7c39dbffd39a60d69f3f8f6e.tar.xz
(svn r3593) Fix typo in r3591
-rw-r--r--console_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c
index 73f1afbab..2d69e3f6d 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -574,7 +574,7 @@ DEF_CONSOLE_HOOK(ConHookValidateMaxCompaniesCount) {
DEF_CONSOLE_HOOK(ConHookValidateMaxSpectatorsCount) {
/* XXX @see ConHookValidateMaxClientsCount */
if (_network_game_info.spectators_max > 10) {
- _network_game_info.clients_max = 10;
+ _network_game_info.spectators_max = 10;
IConsoleError("Maximum spectators out of bounds, truncating to limit.");
}