mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
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 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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user