*** empty log message ***

This commit is contained in:
David Anderson 2004-09-12 00:32:11 +00:00
parent b209d92a2a
commit 16f51ea619

View File

@ -12,7 +12,7 @@ static cell AMX_NATIVE_CALL amx_pev(AMX *amx,cell *params)
return 0;
}
} else {
if (index > gpGlobals->maxEntities)
if (index > gpGlobals->maxEntities || i<1)
{
MF_RaiseAmxError(amx, AMX_ERR_NATIVE);
return 0;