From 5372f5ba0816fb50db341b7868500ead799f7b23 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 23 Nov 2004 00:22:04 +0000 Subject: [PATCH] Small bugfix git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@505 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/qclib/execloop.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/qclib/execloop.h b/engine/qclib/execloop.h index a2380f3bc..3cdc785c0 100644 --- a/engine/qclib/execloop.h +++ b/engine/qclib/execloop.h @@ -531,7 +531,7 @@ reeval: else { i -= externs->numglobalbuiltins; - if (i > current_progstate->numbuiltins) + if (i >= current_progstate->numbuiltins) { if (newf->first_statement == -0x7fffffff) ((builtin_t)newf->profile) (progfuncs, (struct globalvars_s *)current_progstate->globals); @@ -572,8 +572,8 @@ reeval: static char buffer[1024*1024*8]; int size = sizeof buffer; progfuncs->save_ents(progfuncs, buffer, &size, 0); -}*/ - +} +*/ s = PR_LeaveFunction (progfuncs); st = &pr_statements[s]; if (pr_depth == prinst->exitdepth)