entity_set_owner accepts anything now

This commit is contained in:
David Anderson 2005-07-22 20:47:13 +00:00
parent 536a4f8472
commit b9131293c5

View File

@ -1098,10 +1098,6 @@ static cell AMX_NATIVE_CALL entity_set_edict(AMX *amx, cell *params)
int idx = params[2]; int idx = params[2];
int iSetEnt = params[3]; int iSetEnt = params[3];
CHECK_ENTITY(iEnt);
if (iSetEnt != 0)
CHECK_ENTITY(iSetEnt);
edict_t *pEnt = INDEXENT2(iEnt); edict_t *pEnt = INDEXENT2(iEnt);
edict_t *pSetEnt = INDEXENT2(iSetEnt); edict_t *pSetEnt = INDEXENT2(iSetEnt);