1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2005-01-23 17:47:04 +00:00
parent f19a02ed3e
commit 2d675dd762

View file

@ -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];