From 0b129c3a9fbf94848faa69caa33b53fb75e04cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Mon, 8 Mar 2004 09:28:30 +0000 Subject: [PATCH] Updated explanation of find_entity saying "will return 0 if nothing is found" --- plugins/include/engine.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/engine.inc b/plugins/include/engine.inc index 801d1b79..c98e95d6 100755 --- a/plugins/include/engine.inc +++ b/plugins/include/engine.inc @@ -92,7 +92,7 @@ native entity_set_byte(iIndex, iKey, iVal); /* Creates an entity, will return the index of the created entity. ClassName must be valid. */ native create_entity(szClassname[]); -/* Finds an entity in the world, will return -1 if nothing is found */ +/* Finds an entity in the world, will return 0 if nothing is found */ native find_entity(iIndex, szClass[]); native find_ent_by_owner(iIndex, szClass[], iOwner); native find_ent_by_target(iIndex, szClass[]);