From c6024b93ceef882532f153c1e8af07258669f799 Mon Sep 17 00:00:00 2001 From: Arkshine Date: Wed, 24 Feb 2016 23:47:17 +0100 Subject: [PATCH] Fix typo in find_ent_in_sphere --- modules/engine/entity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/engine/entity.cpp b/modules/engine/entity.cpp index 1d056945..23a78edf 100644 --- a/modules/engine/entity.cpp +++ b/modules/engine/entity.cpp @@ -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;