From 5453b55bdc03787d0432709eabaa04451af23a13 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 12 Sep 2004 00:38:17 +0000 Subject: [PATCH] *** empty log message *** --- dlls/fakemeta/pev.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/fakemeta/pev.cpp b/dlls/fakemeta/pev.cpp index 7bed7e3c..cc27af74 100755 --- a/dlls/fakemeta/pev.cpp +++ b/dlls/fakemeta/pev.cpp @@ -12,7 +12,7 @@ static cell AMX_NATIVE_CALL amx_pev(AMX *amx,cell *params) return 0; } } else { - if (index > gpGlobals->maxEntities || i<1) + if (index > gpGlobals->maxEntities || index < 1) { MF_RaiseAmxError(amx, AMX_ERR_NATIVE); return 0;