From ef147860c203a2a433ff29322061d16f735bcb72 Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Sat, 21 Nov 2015 01:46:35 +0000 Subject: [PATCH] Fix GetEntSendPropOffs returning 0 for missing props when actual=false Issue introduced in #439. --- plugins/include/entity.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/entity.inc b/plugins/include/entity.inc index d67994b92..450125dbb 100644 --- a/plugins/include/entity.inc +++ b/plugins/include/entity.inc @@ -486,7 +486,7 @@ stock GetEntSendPropOffs(ent, const String:prop[], bool:actual=false) return -1; } - new local; + new local = -1; new offset = FindSendPropInfo(cls, prop, _, _, local); if (actual)