*** empty log message ***

This commit is contained in:
David Anderson 2004-09-12 00:38:17 +00:00
parent 16f51ea619
commit 5453b55bdc

View File

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