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
commit8cba0a1176bd5d599727b5b4074a5f9c1b1c699a (patch)
tree6d616f3b301f7863eccdb86bf3877f17c44510a1
parent12bc4e8e3206a26ec108090a8f82581045660a67 (diff)
downloadopenttd-8cba0a1176bd5d599727b5b4074a5f9c1b1c699a.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.");
}