Merge pull request #355 from Arkshine/fix/typo-find_ent_in_sphere

Fix typo in find_ent_in_sphere()
This commit is contained in:
Vincent Herbet 2016-02-24 23:58:16 +01:00
commit f981aa34dc

View File

@ -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;