From b9131293c5629da6935c39775e8009d8744c9e73 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 22 Jul 2005 20:47:13 +0000 Subject: [PATCH] entity_set_owner accepts anything now --- dlls/engine/entity.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/engine/entity.cpp b/dlls/engine/entity.cpp index c2b57865..977a109a 100755 --- a/dlls/engine/entity.cpp +++ b/dlls/engine/entity.cpp @@ -1098,10 +1098,6 @@ static cell AMX_NATIVE_CALL entity_set_edict(AMX *amx, cell *params) int idx = params[2]; int iSetEnt = params[3]; - CHECK_ENTITY(iEnt); - if (iSetEnt != 0) - CHECK_ENTITY(iSetEnt); - edict_t *pEnt = INDEXENT2(iEnt); edict_t *pSetEnt = INDEXENT2(iSetEnt);