From c16afc9cd373d86ff68e14a8457f0e2b1cad6aa5 Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Tue, 20 May 2008 02:51:02 +0000 Subject: [PATCH] Fixed amb1687 - Infinite loop in Entity Outputs --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402157 --- extensions/sdktools/output.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/extensions/sdktools/output.cpp b/extensions/sdktools/output.cpp index 388acf07..70e22b54 100644 --- a/extensions/sdktools/output.cpp +++ b/extensions/sdktools/output.cpp @@ -289,12 +289,10 @@ void EntityOutputManager::FireEventDetour(void *pOutput, CBaseEntity *pActivator CleanUpHook(hook); continue; } - - hook->in_use = false; - _iter++; - - continue; } + + hook->in_use = false; + _iter++; } } }