From 8973af479cdce565ed2d647bcbb1d208409d7b65 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 6 Jul 2004 17:02:31 +0000 Subject: [PATCH] Fixed ent bugs from JGHG Changed MAKE_STRING to ALLOC_STRING --- dlls/engine/entity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/engine/entity.cpp b/dlls/engine/entity.cpp index c64b760b..f3f27263 100755 --- a/dlls/engine/entity.cpp +++ b/dlls/engine/entity.cpp @@ -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;