mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fix typo in find_ent_in_sphere
This commit is contained in:
parent
f2272ab4cb
commit
c6024b93ce
@ -1354,7 +1354,7 @@ static cell AMX_NATIVE_CALL find_ent_in_sphere(AMX *amx, cell *params)
|
||||
|
||||
if (!FNullEnt(pEnt = FIND_ENTITY_IN_SPHERE(pEnt, origin, radius)))
|
||||
{
|
||||
return TypeConversion.cbase_to_id(pEnt);
|
||||
return TypeConversion.edict_to_id(pEnt);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user