From 6a1039764117efe618dd6dc8c4c89c4a8c48bdf7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 16 Mar 2004 05:21:42 +0000 Subject: [PATCH] Fixed xtrafun include --- plugins/include/xtrafun.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/xtrafun.inc b/plugins/include/xtrafun.inc index 86ca5237..7b3cda2f 100755 --- a/plugins/include/xtrafun.inc +++ b/plugins/include/xtrafun.inc @@ -65,7 +65,7 @@ stock get_grenade_index(index, model[], len, grenadeindex = 0) { new entowner = index for (;;) { - entfind = find_entity_by_class(entfind, "grenade") + entfind = find_ent_by_class(entfind, "grenade") if (entfind && is_valid_ent(entfind)) { if (entity_get_edict(entFind, EV_ENT_owner) == entowner) { @@ -96,7 +96,7 @@ enum { * "targetname", value is the name you are searching for */ stock find_entity(start_from_ent, category, value[]) { switch (category) { - case target: return find_entity_by_target(start_from_ent, value) + case target: return find_ent_by_target(start_from_ent, value) case targetname: return find_ent_by_tname(start_from_ent, value) } return find_entity_by_class(start_from_ent, value)