Fixed ent bugs from JGHG
Changed MAKE_STRING to ALLOC_STRING
This commit is contained in:
1 parent
221d5b623d
commit
8973af479c
1 file changed
+1
-1
@@ -5,7 +5,7 @@ int is_ent_valid(int iEnt)
|
||||
if (iEnt < 1 || iEnt > gpGlobals->maxEntities)
|
||||
return 0;
|
||||
|
||||
if (iEnt >= 1 && iEnt <= 32)
|
||||
if (iEnt >= 1 && iEnt <= gpGlobals->maxClients)
|
||||
if (!MF_IsPlayerIngame(iEnt))
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user