From 4464e46d37224fb2b1180d94cf35dc633be1db9d Mon Sep 17 00:00:00 2001 From: Richard Helgeby Date: Tue, 24 Dec 2013 14:32:28 +0100 Subject: [PATCH] Fixed fog controller not recreated when existing controller is deleted. --- src/zr/visualeffects/visualambience.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zr/visualeffects/visualambience.inc b/src/zr/visualeffects/visualambience.inc index b4a8ba3..4e44525 100644 --- a/src/zr/visualeffects/visualambience.inc +++ b/src/zr/visualeffects/visualambience.inc @@ -315,6 +315,7 @@ VAmbienceApplyFog(bool:override = false) { // Delete fog. AcceptEntityInput(fogindex, "Kill"); + fogindex = -1; } }