From 2e63e1316ca4bbc921abf0dc7c0d92aa30ef7371 Mon Sep 17 00:00:00 2001 From: Christian Hammacher Date: Fri, 19 May 2006 18:40:17 +0000 Subject: [PATCH] fixed bug at29945 --- plugins/include/engine_stocks.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/engine_stocks.inc b/plugins/include/engine_stocks.inc index 391484c9..22116dfa 100755 --- a/plugins/include/engine_stocks.inc +++ b/plugins/include/engine_stocks.inc @@ -248,7 +248,7 @@ stock set_entity_visibility(entity, visible = 1) { /* Returns 1 if entity is visible. */ stock get_entity_visibility(entity) { - return (entity_get_int(entity, EV_INT_effects) & EF_NODRAW) + return !(entity_get_int(entity, EV_INT_effects) & EF_NODRAW) } stock set_user_velocity(entity, Float:vec[3])