From 47a2ecaa815c28ce7d17d47465780986c2587d21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Fri, 12 Mar 2004 13:41:16 +0000 Subject: [PATCH] fixed find_entity should return value warning --- 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 4a844bc9..86ca5237 100755 --- a/plugins/include/xtrafun.inc +++ b/plugins/include/xtrafun.inc @@ -98,8 +98,8 @@ stock find_entity(start_from_ent, category, value[]) { switch (category) { case target: return find_entity_by_target(start_from_ent, value) case targetname: return find_ent_by_tname(start_from_ent, value) - default: return find_entity_by_class(start_from_ent, value) } + return find_entity_by_class(start_from_ent, value) } #endif // _xtrafun_included \ No newline at end of file