Small off-by-one bug
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@822 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f19a02ed3e
commit
2d675dd762
1 changed files with 1 additions and 1 deletions
|
@ -2623,7 +2623,7 @@ void CL_NewTranslation (int slot)
|
|||
char *s;
|
||||
player_info_t *player;
|
||||
|
||||
if (slot > MAX_CLIENTS)
|
||||
if (slot >= MAX_CLIENTS)
|
||||
Sys_Error ("CL_NewTranslation: slot > MAX_CLIENTS");
|
||||
|
||||
player = &cl.players[slot];
|
||||
|
|
Loading…
Reference in a new issue