entity_set_owner accepts anything now
This commit is contained in:
parent
536a4f8472
commit
b9131293c5
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user