Fixed ent bugs from JGHG

Changed MAKE_STRING to ALLOC_STRING
This commit is contained in:
David Anderson 2004-07-06 17:02:31 +00:00
parent 221d5b623d
commit 8973af479c

View File

@ -5,7 +5,7 @@ int is_ent_valid(int iEnt)
if (iEnt < 1 || iEnt > gpGlobals->maxEntities) if (iEnt < 1 || iEnt > gpGlobals->maxEntities)
return 0; return 0;
if (iEnt >= 1 && iEnt <= 32) if (iEnt >= 1 && iEnt <= gpGlobals->maxClients)
if (!MF_IsPlayerIngame(iEnt)) if (!MF_IsPlayerIngame(iEnt))
return 0; return 0;