From 31f59ea92e63b2d3d621924e10b48c215ecd43b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Tue, 9 Mar 2004 14:12:10 +0000 Subject: [PATCH] changed to find_entity_by_class where stock used find_entity --- plugins/include/xtrafun.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/xtrafun.inc b/plugins/include/xtrafun.inc index a75dc236..4a844bc9 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(entfind, "grenade") + entfind = find_entity_by_class(entfind, "grenade") if (entfind && is_valid_ent(entfind)) { if (entity_get_edict(entFind, EV_ENT_owner) == entowner) {