Fixed a harmless id bug (invalid setting of maxspectators)

This commit is contained in:
Anton E. Gavrilov 2000-05-19 04:00:43 +00:00
parent 195847715d
commit 00abaed37a

View file

@ -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)