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