mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-01-21 23:50:58 +00:00
Fixed a harmless id bug (invalid setting of maxspectators)
This commit is contained in:
parent
195847715d
commit
00abaed37a
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,7 @@ void SVC_DirectConnect (void)
|
||||||
if (maxspectators->value + maxclients->value > MAX_CLIENTS)
|
if (maxspectators->value + maxclients->value > MAX_CLIENTS)
|
||||||
/* Cvar_SetValue ("maxspectators", MAX_CLIENTS - maxspectators.value + maxclients.value);
|
/* Cvar_SetValue ("maxspectators", MAX_CLIENTS - maxspectators.value + maxclients.value);
|
||||||
CVAR_FIXME */
|
CVAR_FIXME */
|
||||||
Cvar_SetValue (maxspectators, MAX_CLIENTS - maxspectators->value + maxclients->value);
|
Cvar_SetValue (maxspectators, MAX_CLIENTS - maxclients->value);
|
||||||
/* if ( (spectator && spectators >= (int)maxspectators.value)
|
/* if ( (spectator && spectators >= (int)maxspectators.value)
|
||||||
CVAR_FIXME */
|
CVAR_FIXME */
|
||||||
if ( (spectator && spectators >= (int)maxspectators->value)
|
if ( (spectator && spectators >= (int)maxspectators->value)
|
||||||
|
|
Loading…
Reference in a new issue