Fixed bug reported by JJKiller

This commit is contained in:
David Anderson 2004-09-12 00:13:46 +00:00
parent 7f6e9f5e20
commit f2faf990a0
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
static cell AMX_NATIVE_CALL amx_pev(AMX *amx,cell *params)
{
int index=params[1];
if (index >= 1 && index <= 32)
if (index >= 1 && index <= gpGlobalx->maxClients)
{
if (!MF_IsPlayerIngame(index))
{