(svn r3593) Fix typo in r3591
authorpeter1138
Sat, 11 Feb 2006 21:41:49 +0000
changeset 3013 8b69ed6023cb
parent 3012 e6d8dd948cb4
child 3014 fbbc1ea2a1c9
(svn r3593) Fix typo in r3591
console_cmds.c
--- a/console_cmds.c	Sat Feb 11 15:05:56 2006 +0000
+++ b/console_cmds.c	Sat Feb 11 21:41:49 2006 +0000
@@ -574,7 +574,7 @@
 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.");
 	}