mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-12 22:02:12 +00:00
Fix off by one
This commit is contained in:
parent
1cfb1f673b
commit
61cae79bd4
1 changed files with 1 additions and 1 deletions
|
@ -1201,7 +1201,7 @@ static consvar_t *CV_FindNetVar(UINT16 netid)
|
|||
{
|
||||
consvar_t *cvar;
|
||||
|
||||
if (netid >= consvar_number_of_netids)
|
||||
if (netid > consvar_number_of_netids)
|
||||
return NULL;
|
||||
|
||||
for (cvar = consvar_vars; cvar; cvar = cvar->next)
|
||||
|
|
Loading…
Reference in a new issue