mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-20 00:11:19 +00:00
I meant consvar_number_of_netids to be exclusive :V
This commit is contained in:
parent
3e52764935
commit
7ec0b6c792
1 changed files with 1 additions and 1 deletions
|
@ -1188,7 +1188,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