From 899833d4323a46148cc681a2643ddff6704e5207 Mon Sep 17 00:00:00 2001 From: Richard Helgeby Date: Sun, 6 Jun 2010 02:43:51 +0200 Subject: [PATCH] Fixed napalm grenades not always working. --- src/zr/napalm.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zr/napalm.inc b/src/zr/napalm.inc index f6133bc..41c9448 100644 --- a/src/zr/napalm.inc +++ b/src/zr/napalm.inc @@ -222,7 +222,7 @@ public Action:NapalmIgniteGrenade(Handle:timer) for (new x = 0; x <= maxentities; x++) { // If entity is invalid, then stop. - if(!IsValidEntity(x)) + if(!IsValidEntity(x) || !IsValidEdict(x)) { continue; }