From 00abaed37a72a897fac8db852b03227d374bccae Mon Sep 17 00:00:00 2001 From: "Anton E. Gavrilov" Date: Fri, 19 May 2000 04:00:43 +0000 Subject: [PATCH] Fixed a harmless id bug (invalid setting of maxspectators) --- source/sv_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/sv_main.c b/source/sv_main.c index c568d7c..d599587 100644 --- a/source/sv_main.c +++ b/source/sv_main.c @@ -725,7 +725,7 @@ void SVC_DirectConnect (void) if (maxspectators->value + maxclients->value > MAX_CLIENTS) /* Cvar_SetValue ("maxspectators", MAX_CLIENTS - maxspectators.value + maxclients.value); CVAR_FIXME */ - Cvar_SetValue (maxspectators, MAX_CLIENTS - maxspectators->value + maxclients->value); + Cvar_SetValue (maxspectators, MAX_CLIENTS - maxclients->value); /* if ( (spectator && spectators >= (int)maxspectators.value) CVAR_FIXME */ if ( (spectator && spectators >= (int)maxspectators->value)