mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Allow find_ent_by_owner native to work in client_disconnect forward
This commit is contained in:
parent
d8fc093fd8
commit
cfcd6e9ac9
@ -1477,7 +1477,7 @@ static cell AMX_NATIVE_CALL find_ent_by_owner(AMX *amx, cell *params) // native
|
||||
int iEnt = params[1];
|
||||
int oEnt = params[3];
|
||||
// Check index to start searching at, 0 must be possible for iEnt.
|
||||
CHECK_ENTITY(oEnt);
|
||||
CHECK_ENTITY_SIMPLE(oEnt);
|
||||
|
||||
edict_t *pEnt = INDEXENT2(iEnt);
|
||||
edict_t *entOwner = INDEXENT2(oEnt);
|
||||
|
Loading…
Reference in New Issue
Block a user