From 50eb77926ec9f07ba271c5ee7cf257ab61f5eabf Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 27 Jul 2008 06:29:58 +0000 Subject: [PATCH] fixed amb1885: regression in IsInExec() which caused ThrowNativeError to fail --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402426 --- sourcepawn/jit/sp_vm_basecontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcepawn/jit/sp_vm_basecontext.cpp b/sourcepawn/jit/sp_vm_basecontext.cpp index 5ac58d41d..2b282488c 100644 --- a/sourcepawn/jit/sp_vm_basecontext.cpp +++ b/sourcepawn/jit/sp_vm_basecontext.cpp @@ -587,7 +587,7 @@ int BaseContext::Execute2(IPluginFunction *function, const cell_t *params, unsig m_ctx.n_idx = 0; m_MsgCache[0] = '\0'; m_CustomMsg = false; - m_InExec = false; + m_InExec = true; /* Start the tracer */